/* Course Tabs Component Styles */

.course-tabs {
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
}

.course-tab-item {
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 50px;
    letter-spacing: 0%;
    padding: 0 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.course-tab-item:hover {
    color: #00388B !important;
}

.course-tab-item:active {
    color: #00388B !important;
}

.course-tab-item svg {
    width: 20px;
    height: 20px;
}

/* Reset all tabs to inactive state */
.course-tab-item {
    color: #333 !important;
    border-bottom-color: transparent !important;
}

/* Active tab override */
.course-tab-item.active {
    color: #00388B !important;
    border-bottom-color: #00388B !important;
}

/* Strong tags styling in OUTLINE tab */
#two-panel .course-tabs__article-text strong {
    font-family: Inter !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 140% !important;
    letter-spacing: -1.5% !important;
    color: #00388B !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
}

/* H2 and H3 styling in OUTLINE tab */
#two-panel h2,
#two-panel h3 {
    font-family: Inter !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 140% !important;
    letter-spacing: -1.5% !important;
    /* color: #00388B !important; */
    margin: 15px 0 5px 0 !important;
}

/* Text styling in OUTLINE tab */
#two-panel .course-tabs__article-text p {
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    letter-spacing: 0px !important;
    color: #000000 !important;
    margin: 0 0 15px 0 !important;
}

/* List styling in OUTLINE tab */
#two-panel .course-tabs__article-text ul {
    list-style-type: disc !important;
    margin: 0 0 15px 0 !important;
    padding-left: 20px !important;
}

#two-panel .course-tabs__article-text li {
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    letter-spacing: 0px !important;
    color: #000000 !important;
    margin: 0 0 8px 0 !important;
}

/* List styling in DESCRIPTION tab for Who should attend */
#one-panel .course-tabs__article-text ul {
    list-style-type: disc !important;
    margin: 0 0 15px 0 !important;
    padding-left: 20px !important;
}

#one-panel .course-tabs__article-text li {
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    letter-spacing: 0px !important;
    color: #000000 !important;
    margin: 0 0 8px 0 !important;
}

/* H2 and H3 styling in DESCRIPTION tab */
#one-panel h2,
#one-panel h3 {
    font-family: Inter !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 140% !important;
    letter-spacing: -1.5% !important;
    /* color: #00388B !important; */
    margin: 15px 0 5px 0 !important;
}

/* Bullet points styling in DESCRIPTION tab */
#one-panel ul {
    list-style-type: disc !important;
    margin: 0 0 15px 0 !important;
    padding-left: 20px !important;
}

#one-panel li {
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    letter-spacing: 0px !important;
    color: #000000 !important;
    margin: 0 0 8px 0 !important;
}

/* Hide bullet points when checkmark icon is present */
#one-panel li:has(.checkmark-icon) {
    list-style-type: none !important;
    padding-left: 0 !important;
}

#one-panel ul:has(.checkmark-icon) {
    list-style-type: none !important;
    padding-left: 0 !important;
}

/* Checkmark icon styling in DESCRIPTION tab */
#one-panel .checkmark-icon {
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

#one-panel .checkmark-icon svg {
    width: 24px !important;
    height: 24px !important;
}

/* Schedule radio button styles - default blue circles */
label[for^="schedule"] {
    background: #00388B !important;
    border-color: #00388B !important;
}

/* White checkmark visible only when checked */
input[name="schedule"]:checked + label svg {
    display: block !important;
}

/* Panel visibility - hide all by default, show only when radio is checked */
.panel {
    display: none !important;
}

/* Show first panel by default */
#one-panel {
    display: block !important;
}

#one:checked ~ .tabs-container #one-panel,
#two:checked ~ .tabs-container #two-panel,
#three:checked ~ .tabs-container #three-panel,
#four:checked ~ .tabs-container #four-panel,
#five:checked ~ .tabs-container #five-panel,
#six:checked ~ .tabs-container #six-panel {
    display: block !important;
}

/* Mobile responsive styles for tabs */
@media (max-width: 768px) {
    .course-tabs {
        flex-direction: column !important;
        gap: 0 !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    .course-tab-item {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 20px !important;
        line-height: 1.2 !important;
        border-bottom: 1px solid #E5E5EB !important;
        border-right: none !important;
        font-size: 14px !important;
        justify-content: center !important;
    }
    
    .course-tab-item:last-child {
        border-bottom: none !important;
    }
    
    .course-tab-item.active {
        background-color: #F0F4FF !important;
        border-bottom-color: #00388B !important;
    }
    
    .course-tab-item svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Mobile responsive for DESCRIPTION tab content */
    #one-panel .panel {
        padding: 0 16px !important;
    }
    
    /* Make left-right split sections stack vertically on mobile */
    #one-panel div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    #one-panel div[style*="flex: 0 0 360px"] {
        flex: 1 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    #one-panel div[style*="width: 360px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* What you will get grid responsive */
    #one-panel div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Course tabs article responsive */
    .course-tabs__info,
    .course-tabs__article {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Live online course schedule box mobile styles */
    #one-panel div[style*="width: 360px"] {
        text-align: left !important;
    }
    
    #one-panel div[style*="width: 360px"] > div {
        text-align: left !important;
    }
    
    #one-panel div[style*="width: 360px"] form {
        text-align: left !important;
    }
    
    #one-panel div[style*="width: 360px"] form > div {
        text-align: left !important;
    }
    
    /* Keep horizontal layout for course schedule items in mobile */
    #one-panel div[style*="display: flex; align-items: center; gap: 12px"] {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    /* Course schedule item structure: icon | date/time | radio button */
    #one-panel div[style*="display: flex; align-items: center; gap: 12px"] > div:first-child {
        flex-shrink: 0 !important;
        width: 42px !important;
        height: 41px !important;
    }
    
    #one-panel div[style*="display: flex; align-items: center; gap: 12px"] > div:nth-child(2) {
        flex: 1 !important;
        text-align: left !important;
    }
    
    #one-panel div[style*="display: flex; align-items: center; gap: 12px"] > div:last-child {
        flex-shrink: 0 !important;
    }
    
    /* Reduce margin between sections */
    #one-panel .course-tabs__info,
    #one-panel .course-tabs__article {
        margin: 0 0 10px 0 !important;
    }
    
    /* What you will get section margin reduction */
    #one-panel div[style*="margin-top: 30px"] {
        margin-top: 15px !important;
    }
    
    /* Circle numbers in boxes - move to right */
    #one-panel div[style*="display: flex; align-items: center; gap: 10px"] {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    
    #one-panel div[style*="width: 30px; height: 30px; background: #00388B"] {
        margin-left: 0 !important;
    }
    
    /* What you will get content left align */
    #one-panel div[style*="text-align: center"] {
        text-align: left !important;
    }
    
    #one-panel div[style*="text-align: center"] > div {
        text-align: left !important;
    }
    
    /* What you will get boxes content left align */
    #one-panel div[style*="text-align: center"] p,
    #one-panel div[style*="text-align: center"] div,
    #one-panel div[style*="text-align: center"] span {
        text-align: left !important;
    }
    
    /* News letter section - keep left-right layout */
    #one-panel div[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    #one-panel div[style*="display: flex"][style*="gap: 20px"] > div:first-child {
        flex: 1 !important;
    }
    
    #one-panel div[style*="display: flex"][style*="gap: 20px"] > div:last-child {
        flex: 0 0 auto !important;
    }
    
    /* Newsletter section - fix number positioning in mobile */
    #one-panel div[style*="display: flex; align-items: flex-start; gap: 10px;"] {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    #one-panel div[style*="width: 20px; height: 20px; background: #00388B; border-radius: 10px;"] {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }
    
    /* News letter content left align */
    #one-panel div[style*="display: flex"][style*="gap: 20px"] div[style*="display: flex; align-items: center; gap: 10px"] {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    #one-panel div[style*="display: flex"][style*="gap: 20px"] div[style*="display: flex; align-items: center; gap: 10px"] > div {
        text-align: left !important;
    }
    
    /* News letter checkmarks and images on the left */
    #one-panel div[style*="display: flex"][style*="gap: 20px"] div[style*="display: flex; align-items: center; gap: 10px"] svg {
        flex-shrink: 0 !important;
    }
    
    #one-panel div[style*="display: flex"][style*="gap: 20px"] div[style*="display: flex; align-items: center; gap: 10px"] img {
        flex-shrink: 0 !important;
    }
    
    /* Responsive for all panels */
    #one-panel,
    #two-panel,
    #three-panel,
    #four-panel,
    #five-panel,
    #six-panel {
        padding: 0 16px !important;
    }
    
    /* FEES tab responsive */
    #three-panel div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    #three-panel div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* What you will get section in FEES tab - same responsive as DESCRIPTION */
    #three-panel div[style*="border: 1px solid #E5E5EB; border-radius: 5px; padding: 20px;"] {
        padding: 0 16px !important;
    }
    #three-panel div[style*="display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px;"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    #three-panel div[style*="display: flex; align-items: center; gap: 10px"] {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    #three-panel div[style*="width: 30px; height: 30px; background: #00388B"] {
        margin-left: 0 !important;
    }
    #three-panel div[style*="text-align: center"] {
        text-align: left !important;
    }
    #three-panel div[style*="text-align: center"] > div {
        text-align: left !important;
    }
    #three-panel div[style*="text-align: center"] p,
    #three-panel div[style*="text-align: center"] div,
    #three-panel div[style*="text-align: center"] span {
        text-align: left !important;
    }
    
    /* Registration Form - keep step numbers on left in mobile */
    #three-panel div[style*="display: flex; align-items: center; gap: 15px;"] {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }
    #three-panel div[style*="width: 31px; height: 31px; background: #00388B"] {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Group Offer Section responsive (FEES only) */
    #three-panel div[style*="width: 1000px; height: 383px; background: #F0F4FF"] {
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    #three-panel div[style*="display: flex; flex-direction: column; gap: 15px;"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    #three-panel div[style*="width: 126px; height: 105px; background: white"] {
        width: auto !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #three-panel div[style*="width: 126px; height: 105px; background: linear-gradient"] {
        width: auto !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #three-panel div[style*="width: 126px; height: 105px; background: white"] span,
    #three-panel div[style*="width: 126px; height: 105px; background: linear-gradient"] span {
        font-size: 14px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    /* CEU Credits section title margin in mobile */
    #three-panel h2[style*="font-family: Inter; font-weight: 700; font-size: 32px"] {
        margin-top: 20px !important;
    }
    
    /* COUPON tab responsive - only for specific sections */
    #six-panel div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* COUPON tab - Download free discount coupon form responsive */
    #six-panel div[style*="display: flex; gap: 40px;"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    /* COUPON tab - Group Offer responsive (same as FEES) */
    #six-panel div[style*="width: 1000px; height: 383px; background: #F0F4FF"] {
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    #six-panel div[style*="display: flex; flex-direction: column; gap: 15px;"] {
        align-items: center;
        /* flex-direction: row !important; */
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    #six-panel div[style*="width: 126px; height: 105px; background: white"] {
        width: auto !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #six-panel div[style*="width: 126px; height: 105px; background: linear-gradient"] {
        width: auto !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #six-panel div[style*="width: 126px; height: 105px; background: white"] span,
    #six-panel div[style*="width: 126px; height: 105px; background: linear-gradient"] span {
        font-size: 14px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    
    
    /* QUOTATION tab responsive */
    #four-panel div[style*="display: flex; gap: 40px;"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    #four-panel div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    #four-panel div[style*="background: #F0F4FF; padding: 30px"] {
        padding: 20px !important;
    }
    
    #four-panel div[style*="background: white; padding: 30px"] {
        padding: 20px !important;
    }
    
    #four-panel h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    #four-panel .form-step {
        width: 100% !important;
    }
    
    #four-panel div[style*="display: flex; align-items: center; gap: 12px"] {
        flex-wrap: wrap !important;
    }
    
    #four-panel div[style*="display: flex; flex-direction: column; gap: 15px"] {
        gap: 10px !important;
    }
    
    #four-panel label {
        font-size: 13px !important;
    }
    
    #four-panel input,
    #four-panel select,
    #four-panel textarea {
        font-size: 13px !important;
        padding: 10px !important;
    }
    
    /* Training Catalog Section responsive */
    .download-catalog-section {
        grid-template-columns: 1fr !important;
        height: auto !important;
        padding: 30px 20px !important;
        gap: 30px !important;
    }
    
    .download-catalog-section img {
        width: 200px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
    
    /* QUOTATION Tab - Catalog Section responsive */
    .quotation-catalog-section {
        grid-template-columns: 1fr !important;
        height: auto !important;
        padding: 30px 20px !important;
        gap: 20px !important;
    }
    
    .quotation-catalog-content {
        height: auto !important;
    }
    
    .quotation-catalog-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .quotation-catalog-description {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    .quotation-catalog-button {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
    }
    
    .quotation-catalog-image img {
        width: 200px !important;
        height: auto !important;
    }
    
    /* All grid layouts responsive */
    .course-tabs-block div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .course-tabs-block div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Price Comparison - keep horizontal layout in mobile */
    #three-panel div[style*="display: flex; gap: 20px; margin-bottom: 30px"] {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: space-between !important;
    }
    #three-panel div[style*="display: flex; gap: 20px; margin-bottom: 30px"] > div {
        flex: 1 !important;
        text-align: left !important;
    }
}

/* Training Catalog Section in QUOTATION Tab */
.quotation-catalog-section {
    width: 100%;
    max-width: 1241px;
    height: 438px;
    background: #F0F4FF;
    border-radius: 5px;
    margin: 40px auto 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 40px 82px;
    align-items: center;
}

.quotation-catalog-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 75%;
}

.quotation-catalog-title {
    font-family: Inter;
    font-weight: 700;
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #0A0A0A;
    margin: 0 0 20px 0;
}

.quotation-catalog-description {
    font-family: Helvetica Neue;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #0A0A0A;
    margin: 0 0 20px 0;
}

.quotation-catalog-button {
    width: 184px;
    height: 46px;
    min-height: 36px;
    opacity: 1;
    border-radius: 5px;
    padding: 10px;
    background: #00388B;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.quotation-catalog-button:hover {
    background: #002A6B;
}

.quotation-catalog-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quotation-catalog-image img {
    width: 262px;
    height: 339px;
    border-radius: 5px;
    box-shadow: 3px 3px 5px 0px #00000026;
    object-fit: cover;
}

/* Tablet responsive styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .course-tabs {
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .course-tab-item {
        flex: 1 !important;
        min-width: 120px !important;
        font-size: 14px !important;
        padding: 0 15px !important;
    }
    
    .quotation-catalog-section {
        padding: 30px 40px;
    }
    
    .quotation-catalog-title {
        font-size: 32px;
    }
}

/* Mobile styles for Group Offer and CEU Credits */
@media (max-width: 768px) {
    .group-offer-section {
        flex-direction: column !important;
        height: auto !important;
        padding: 20px !important;
        gap: 20px !important;
    }
    
    .group-offer-title {
        font-size: 28px !important;
    }
    
    .group-offer-text {
        font-size: 16px !important;
        line-height: 22px !important;
    }
    
    .group-offer-boxes {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .group-offer-boxes > div {
        display: contents !important;
    }
    
    .group-offer-box {
        width: 100% !important;
        height: 90px !important;
        padding: 10px !important;
    }
    
    .ceu-credits-section {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 15px !important;
    }
    
    .ceu-credits-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }
    
    .ceu-credits-section ul {
        font-size: 16px !important;
        line-height: 22px !important;
    }
    
    .ceu-credits-section img {
        max-width: 150px !important;
        height: auto !important;
    }
}

