/* --- Pricing page styles (scoped to #left-content) --- */


#left-content h2 {
    border-bottom: 1px solid #bbb;
    padding-bottom: 8px;
    margin-top: 40px;
    font-size: 1.5em;
}

#left-content h2:first-of-type {
    margin-top: 20px;
}

#left-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin-top: 30px;
    padding-bottom: 6px;
}

#left-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

#left-content th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #bbb;
    font-weight: 600;
    background: #884749;
    color: white;
}

#left-content td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
}

#left-content tr:nth-of-type(odd) {
    background: #eee;
}

#left-content .price {
    font-weight: 600;
    white-space: nowrap;
}

#left-content .note {
    padding: 8px;
    border-left: 3px solid #999;
    margin: 20px 0;
    font-size: 0.95em;
}

#left-content .registration {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.05em;
}

#left-content .discount {
    color: #884749;
    font-size: 0.9em;
    font-weight: bold;
}

#left-content a {
    font-weight: 700;
    font-style: italic;
}

#left-content .two-col {
    display: flex;
    gap: 30px;
}

#left-content .two-col .col {
    flex: 1;
}

#left-content .two-col .col h2 {
    margin-top: 20px;
}

#left-content #payDues + h2 {
    clear: both;
}

/* --- Tab switcher for Children's table --- */
#left-content .tab-group {
    display: none;
    margin-top: 32px;
}

#left-content .tab-group .tabs {
    display: flex;
    gap: 2px;
    background: #e8e8e8;
    border-radius: 6px 6px 0 0;
    padding: 2px;
    margin-bottom: 6px;
}

#left-content .tab-group .tab-btn {
    flex: 1;
    padding: 8px 8px;
    border: none;
    background: transparent;
    border-radius: 4px 4px 0 0;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    color: #666;
}

#left-content .tab-group .tab-btn.active {
    font-weight: 600;
    color: #000;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* --- Stacked cards (hidden by default, shown on mobile) --- */
#left-content .card-view {
    display: none;
}

#left-content .card {
    border: 1px solid #ddd;
    padding: 14px 16px;
    margin-bottom: 10px;
}

#left-content .card-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

#left-content .card-row:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

#left-content .card-label {
    color: #666;
    font-size: 0.9em;
}

#left-content .card-value {
    font-weight: 600;
    text-align: right;
}

#left-content .card-value .discount {
    display: block;
    font-weight: bold;
}

#left-content .card-title {
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}

/* --- Mobile breakpoint --- */
@media screen and (max-width: 768px) {
    #left-content h1 { font-size: 1.6em; }
    #left-content h2 { font-size: 1.3em; margin-top: 30px; }

    #left-content .table-desktop-hide {
        display: none;
    }

    #left-content .card-view {
        display: block;
    }

    #left-content .tab-group {
        display: block;
    }

    #left-content .two-col {
        flex-direction: column;
        gap: 0;
    }
}
