/* ============================================
   Reusable Tab Navigation System
   Theme Color: #14B8A6 (Professional Teal)
   ============================================ */

/* Tab Container */
.tabs-container {
    display: inline-block;
    margin-bottom: 20px;
}

/* Tab Header */
.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #F3F4F5;
    background: transparent;
    border-radius: 8px 8px 0 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

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

/* Tab Button */
.tab-btn {
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: #262A2E;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
}

.tab-btn:hover {
    color: #14B8A6;
    background: rgba(20, 184, 166, 0.08);
}

.tab-btn.active {
    color: #14B8A6;
    border-bottom-color: #14B8A6;
    font-weight: 600;
}

.tab-btn:focus {
    outline: none;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-header {
        padding: 0 10px;
        overflow-x: scroll;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Tab Content Wrapper */
.tab-content-wrapper {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 0;
}

/* Optional: Tab Icon Support */
.tab-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* Optional: Tab Badge Support */
.tab-badge {
    display: inline-block;
    background: #14B8A6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    min-width: 18px;
    text-align: center;
}

.tab-btn:not(.active) .tab-badge {
    background: #C2C6CE;
}

/* Smooth Transition for Content */
.tab-content-wrapper {
    transition: min-height 0.3s ease;
}