/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .fade-in.visible {
        opacity: 1;
    }

.home-code {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 72px;
    height: 40px;
    background-color: #aaa;
    text-decoration: none;
    color: white;
    line-height: 40px;
    letter-spacing: 4px;
    padding-left: 4px;
    margin: 8px;
}

.color-in-table-button {
    color: white;
}

.a-active {
    font-weight: bold;
}

.search-lable {
    width: 90px;
    font-size: 12px;
    line-height: 32px;
    padding-right: 0px;
}

.search-text {
    width: 240px;
    font-size: 12px;
}

.order-text-title {
    font-weight: bold;
}

.order-text-lable {
    text-align: right;
    width: 140px;
    font-size: 12px;
    line-height: 22px;
    vertical-align: middle;
}

.order-detail-text {
    font-size: 12px;
    line-height: 22px;
}


.order-detail-lable {
    width: 100px;
    vertical-align: middle;
}

.order-detail-body {
    max-height: 400px;
    overflow-y: auto;
}

.order-font-size {
    font-size: 12px;
}

.order-insure-height {
    height: 24px;
}

.pagination-link {
    font-weight: bold;
    text-decoration: underline;
}

em {
    color: red;
    padding-right: 4px;
}

#BizPolicyNoSelect {
    height: 120px;
}

.product-image {
    max-width: 100%;
    height: auto;
    width: 776px;
}

.bg-gray {
    background-color: #6c757d !important;
    color: #fff !important;
}

#overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure it is above other content */
    text-align: center;
    padding-top: 20%; /* Center vertically */
    color: white;
}

.textbox-highlight {
    background-color: aquamarine;
}


.select-auto-div {
    position: absolute;
    width: 300px;
    max-height: 150px;
    font-size: 12px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fff;
    display: none;
}

    .select-auto-div div {
        padding: 10px;
        cursor: pointer;
    }

.partner-logo-wrapper {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.partner-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-color: rgba(22,93,255,0.2);
}

.partner-logo-wrapper:hover .fa-solid {
    transform: scale(1.1);
}

.partner-logo-wrapper .fa-solid {
    transition: transform 0.3s ease;
}

#partners {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

#partners .section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    #partners .section-padding {
        padding: 60px 0;
    }
    
    .partner-logo-wrapper {
        min-height: 100px !important;
    }
}

.partner-logo-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.partner-logo-wrapper:hover .partner-logo {
    transform: scale(1.1);
}

.partner-logo {
    transition: transform 0.3s ease;
}

.partner-logo-wrapper {
    transition: all 0.3s ease;
}

/* 保险条款双列布局样式 */
.dynamic-content .coverage-details .coverage-two-column,
.special-dynamic-content .coverage-details .coverage-two-column,
.coverage-two-column {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 20px !important;
}

.dynamic-content .coverage-details .coverage-two-column .coverage-item,
.special-dynamic-content .coverage-details .coverage-two-column .coverage-item,
.coverage-two-column .coverage-item {
    flex: 0 0 calc(50% - 10px) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 4px 0 !important;
    min-height: 24px !important;
}

.coverage-two-column .coverage-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.coverage-two-column .coverage-value {
    flex-shrink: 0;
    font-weight: 500;
    color: #007bff;
    margin-left: 8px;
}

/* 单列布局保持原有样式（向后兼容） */
.coverage-details .coverage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    min-height: 24px;
}

.coverage-details .coverage-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.coverage-details .coverage-value {
    flex-shrink: 0;
    font-weight: 500;
    color: #007bff;
    margin-left: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .coverage-two-column {
        flex-direction: column;
    }

    .coverage-two-column .coverage-item {
        flex: 1 1 100%;
    }
}
