/* ==========================================================================
   ITGI Claim Tabbed Process Component Styles
   ========================================================================== */

.itgi-claim-tabs-wrapper {
    padding: 40px 16px;
    font-family: inherit;
}

.itgi-claim-tabs-container {
    max-width: 1140px;
    margin: 0 auto;
}

.itgi-claim-tabs-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #002e6e;
    margin-bottom: 30px;
    text-align: left;
}

/* Flex Layout */
.itgi-claim-tabs-layout {
    display: flex;
    gap: 45px;
    align-items: flex-start;
}

/* Left Navigation Column */
.itgi-claim-tabs-nav {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Tab Button Item */
.itgi-claim-tab-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    outline: none;
}

.itgi-claim-tab-btn:hover {
    border-color: #0066ff;
}

/* Active Tab Highlight */
.itgi-claim-tab-btn.is-active {
    border-color: #0066ff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.15);
    background-color: #ffffff;
}

/* Icon Container */
.itgi-claim-tab-icon-box {
    width: 44px;
    height: 44px;
    margin-right: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itgi-claim-tab-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title Label */
.itgi-claim-tab-title-text {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.itgi-claim-tab-btn.is-active .itgi-claim-tab-title-text {
    color: #002e6e;
    font-weight: 700;
}

/* Right Arrow Icon */
.itgi-claim-tab-arrow {
    color: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.itgi-claim-tab-btn:hover .itgi-claim-tab-arrow,
.itgi-claim-tab-btn.is-active .itgi-claim-tab-arrow {
    transform: translateX(3px);
}

/* Right Panels Column */
.itgi-claim-tabs-panels {
    flex: 1;
    min-width: 0;
}

/* Panel Display State */
.itgi-claim-tab-panel {
    display: none;
}

.itgi-claim-tab-panel.is-active {
    display: block;
    animation: fadeInTab 0.3s ease-in-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.itgi-claim-panel-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px 0;
}

/* Styled Bullet Lists in Right RTE Content */
.itgi-claim-panel-content-rte {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.itgi-claim-panel-content-rte ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.itgi-claim-panel-content-rte ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
}

/* Custom Blue Bullet Point */
.itgi-claim-panel-content-rte ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #0052cc;
    border-radius: 50%;
}

.itgi-claim-panel-content-rte ol {
    padding-left: 20px;
    margin: 0;
}

.itgi-claim-panel-content-rte ol li {
    margin-bottom: 12px;
}

/* ==========================================================================
   Mobile Accordion-Style Responsive Layout
   ========================================================================== */
@media (max-width: 868px) {
    .itgi-claim-tabs-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Unwrap container elements on mobile so buttons & panels order dynamically */
    .itgi-claim-tabs-nav,
    .itgi-claim-tabs-panels {
        display: contents;
    }

    /* Interleave buttons and panels in tab order */
    .itgi-claim-tab-btn:nth-child(1) { order: 1; }
    .itgi-claim-tab-panel:nth-child(1) { order: 2; }

    .itgi-claim-tab-btn:nth-child(2) { order: 3; }
    .itgi-claim-tab-panel:nth-child(2) { order: 4; }

    .itgi-claim-tab-btn:nth-child(3) { order: 5; }
    .itgi-claim-tab-panel:nth-child(3) { order: 6; }

    .itgi-claim-tab-btn:nth-child(4) { order: 7; }
    .itgi-claim-tab-panel:nth-child(4) { order: 8; }

    .itgi-claim-tab-btn:nth-child(5) { order: 9; }
    .itgi-claim-tab-panel:nth-child(5) { order: 10; }

    .itgi-claim-tab-btn:nth-child(6) { order: 11; }
    .itgi-claim-tab-panel:nth-child(6) { order: 12; }

    /* Adjust padding for active panel on mobile */
    .itgi-claim-tab-panel.is-active {
        padding: 8px 4px 12px 4px;
    }
}