/* --------------------------------------------------------------------------
   VORTEX TABS: Full-Width Layout
   -------------------------------------------------------------------------- */

/* Root Container */
.vortex-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

/* 1. OUTER LAYOUT (Vertical Aurora Style) */
.vortex-tabs.vertical {
    flex-direction: row;
    align-items: flex-start;
}

.vortex-tabs.vertical > .tab-headers {
    display: flex;
    flex-direction: column;
    width: 20rem; 
    flex-shrink: 0;
    border-top: 3.5px solid #0044AA;
}

.vortex-tabs.vertical > .tab-headers button {
    background: #0044AA;
    color: #fff;
    padding: 1.25rem;
    border: none;
    border-bottom: 2px solid #fff;
    text-align: left;
    cursor: pointer;
    font-weight: normal;
    font-size: 1rem;
}

.vortex-tabs.vertical > .tab-headers button.active {
    background: #fff;
    color: #000;
    border-left: 3.5px solid #0044AA;
    font-weight: bold;
}

/* 2. INNER LAYOUT (Silk Style - Grid for 2-per-line) */
/* We target the sub-tabs by ensuring they have the 'horizontal' class */
.vortex-tabs .vortex-tabs.horizontal {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

.vortex-tabs .vortex-tabs.horizontal > .tab-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.vortex-tabs .vortex-tabs.horizontal > .tab-headers button {
    background: #CACACA;
    color: #000;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
}

.vortex-tabs .vortex-tabs.horizontal > .tab-headers button.active {
    background: #0044AA;
    color: #fff;
}

/* 3. CONTENT AREA (Full Width) */
.vortex-tabs > .tab-content {
    flex-grow: 1;
    width: 100%;
    padding: 20px;
    border: 3.5px solid #0044AA;
    background: #fff;
    box-sizing: border-box;
}

/* Ensure inner content borders don't double up */
.vortex-tabs .vortex-tabs .tab-content {
    border: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .vortex-tabs.vertical {
        flex-direction: column;
    }
    .vortex-tabs.vertical > .tab-headers {
        width: 100%;
    }
}