/* ============================================================================
   TABS NAVIGATION - SIGNATURE DESIGN REFINED
   ============================================================================ */

.tabs {
    display: flex;
    gap: 0.65rem;
    margin: -2rem auto 0;
    max-width: 1560px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 1;
    min-width: 180px;
    padding: 1.1rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-bottom: 3px solid transparent;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: 0 -3px 10px rgba(15, 23, 42, 0.04);
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.tab:hover:not(.disabled) {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 -4px 14px rgba(0, 102, 204, 0.08);
}

.tab.active {
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
    border-color: var(--border);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 -4px 18px rgba(0, 102, 204, 0.12);
}

.tab.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(248, 250, 252, 0.85);
    color: var(--slate-400);
    border-color: rgba(226, 232, 240, 0.6);
}

.tab.disabled:hover {
    transform: none;
    box-shadow: 0 -3px 10px rgba(15, 23, 42, 0.04);
    color: var(--slate-400);
}

/* Tooltip */
.tab-tooltip {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.85rem;
    background: var(--text-primary);
    color: #ffffff;
    border-radius: var(--radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.tab-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-primary);
}

.tab.disabled:hover .tab-tooltip {
    opacity: 1;
}

/* Tab Content */
.tab-content {
    display: none;
    padding-top: 1.5rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.25s ease-out;
}
