/* ========================================
   세라젬 구독 제휴카드 - 모듈 스타일시트 (Blue Premium Version)
   메인 컬러: Blue 계열 (#1a5cff, #f0f7ff)
======================================== */

.card-benefits-module {
    /* Color Palette - Blue Premium */
    --primary-blue: #094a9a;
    /* 진한 신뢰감 주는 블루 (헤더 등) */
    --accent-blue: #2563eb;
    /* 강조용 블루 (버튼, 텍스트) */
    --light-blue-bg: #f8fbff;
    /* 배경용 아주 연한 블루 */
    --promo-red: #e11d48;
    /* 가격 할인 강조용 레드 */

    --text-dark: #1e293b;
    /* 본문 텍스트 */
    --text-gray: #64748b;
    /* 부가 설명 */
    --border-color: #e2e8f0;
    /* 테두리 */

    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: white;

    /* Layout Constraint */
    width: 100%;
    max-width: 1300px;
    /* 전체 너비 1300px 제한 */
    margin: 50px auto;
    /* 중앙 정렬 */
    padding: 0 20px;
    /* 모바일 여백 */
    box-sizing: border-box;
}

.card-benefits-module * {
    box-sizing: border-box;
}

/* ========================================
   헤더 영역
======================================== */
/* ========================================
   헤더 영역 (cg-section-header 사용으로 대체)
======================================== */
.card-benefits-module .simple-note {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    background-color: var(--light-blue-bg);
    padding: 12px 20px;
    border-radius: 50px;
    /* 더 둥글게 변경 */
    display: inline-block;
    max-width: 90%;
    word-break: keep-all;
    line-height: 1.6;
}

/* ========================================
   테이블 영역
======================================== */
.card-benefits-module .simple-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-benefits-module .simple-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
    table-layout: fixed;
    border-style: hidden;
    /* Hide outer borders ensuring rounded corners work if wrapper clips */
}

/* Header Cells */
.card-benefits-module .simple-table thead th {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    padding: 18px 10px;
    font-size: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.card-benefits-module .simple-table thead th:last-child {
    border-right: none;
}

/* Body Cells */
.card-benefits-module .simple-table th,
.card-benefits-module .simple-table td {
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 20px 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
}

.card-benefits-module .simple-table td:last-child {
    border-right: none;
}

/* First Column (Labels) */
.card-benefits-module .simple-table tbody th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    border-right: 1px solid var(--border-color);
}

/* Card Visuals */
.card-benefits-module .card-img-real {
    display: block;
    width: 60%;
    /* 카드 크기 적절히 조절 */
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.card-benefits-module .card-img-real:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Old placeholder styles removed or kept minimal if needed, but here replacing block */

/* Card Gradients - Refined */
.card-benefits-module .cv-woori {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
}

.card-benefits-module .cv-lotte {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
}

.card-benefits-module .cv-kb {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: white;
}

.card-benefits-module .cv-shinhan {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.card-benefits-module .cv-hana {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.card-benefits-module .card-visual::after {
    content: attr(data-name);
    z-index: 1;
}

/* Benefit List Styles */
.card-benefits-module .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.7;
}

.card-benefits-module .benefit-list li {
    font-size: 14px;
    letter-spacing: -0.3px;
}

/* Text Highlights */
.card-benefits-module .txt-discount {
    color: var(--promo-red);
    font-weight: 800;
    font-size: 15px;
}

.card-benefits-module .txt-promo {
    /* Special highlight for promotion lines */
    display: block;
    margin-top: 4px;
    background-color: #fff1f2;
    color: var(--promo-red);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #fecdd3;
}

.card-benefits-module .txt-fee {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 16px;
}

.card-benefits-module .sub-text {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    font-weight: normal;
    margin-top: 2px;
}

.card-benefits-module .txt-phone {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Buttons */
.card-benefits-module .btn-apply-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.card-benefits-module .btn-apply-sm:hover {
    background-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

/* Hover Effects on Table Rows (optional subtle highlight) */
.card-benefits-module .simple-table tbody tr:hover td {
    background-color: #f8fbff;
}

/* Responsive */
@media (max-width: 768px) {
    .card-benefits-module .simple-header h2 {
        font-size: 22px;
    }

    .card-benefits-module .card-visual {
        width: 100px;
        height: 63px;
        font-size: 12px;
    }

    .card-benefits-module .simple-table th,
    .card-benefits-module .simple-table td {
        padding: 10px 5px;
        font-size: 13px;
    }

    .card-benefits-module .txt-promo {
        font-size: 12px;
    }
}