/* ============================================
   UMES Tabs Component
   Unified tab navigation used across:
   - Tech Societies  (.tech-soc-tabs / .tech-soc-tab / .tech-soc-panel)
   - Sponsors         (.sp-tabs / .sp-tab / .sp-panel)
   - Student Resources (.res-tabs / .res-tab / .res-panel)
   - Conferences       (.conf-tabs / .conf-tab / .conf-panel)
   ============================================ */

/* ---- Tab Container ---- */
.tech-soc-tabs,
.sp-tabs,
.res-tabs,
.conf-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #efefef;
    flex-wrap: wrap;
}

/* ---- Tab Button ---- */
.tech-soc-tab,
.sp-tab,
.res-tab,
.conf-tab {
    padding: 1rem 2rem;
    background: #ffffff;
    border: 1px solid #efefef;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    position: relative;
    bottom: -2px;
}

/* ---- Tab Hover ---- */
.tech-soc-tab:hover,
.sp-tab:hover,
.res-tab:hover,
.conf-tab:hover {
    background: #f8f8f8;
    color: #333;
}

/* ---- Tab Active ---- */
.tech-soc-tab.active,
.sp-tab.active,
.res-tab.active,
.conf-tab.active {
    background: #BA141A;
    color: #ffffff;
    border-color: #BA141A;
}

/* ---- Tab Panels ---- */
.tech-soc-panel,
.sp-panel,
.res-panel,
.conf-panel {
    display: none;
}

.tech-soc-panel.active,
.sp-panel.active,
.res-panel.active,
.conf-panel.active {
    display: block;
}

/* ---- Responsive ---- */
@media screen and (max-width: 736px) {
    .tech-soc-tabs,
    .sp-tabs,
    .res-tabs,
    .conf-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tech-soc-tab,
    .sp-tab,
    .res-tab,
    .conf-tab {
        width: 100%;
        border-radius: 4px;
        border: 1px solid #efefef;
    }

    .tech-soc-tab.active,
    .sp-tab.active,
    .res-tab.active,
    .conf-tab.active {
        border-color: #BA141A;
    }
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark-mode .tech-soc-tabs,
body.dark-mode .sp-tabs,
body.dark-mode .res-tabs,
body.dark-mode .conf-tabs {
    border-bottom-color: rgba(80, 85, 90, 0.4);
}

body.dark-mode .tech-soc-tab,
body.dark-mode .sp-tab,
body.dark-mode .res-tab,
body.dark-mode .conf-tab {
    background: #252525;
    border-color: rgba(80, 85, 90, 0.4);
    color: #b0b8bf;
}

body.dark-mode .tech-soc-tab:hover,
body.dark-mode .sp-tab:hover,
body.dark-mode .res-tab:hover,
body.dark-mode .conf-tab:hover {
    background: #2a2a2a;
    color: #e0e5e8;
}

body.dark-mode .tech-soc-tab.active,
body.dark-mode .sp-tab.active,
body.dark-mode .res-tab.active,
body.dark-mode .conf-tab.active {
    background: #BA141A;
    border-color: #BA141A;
    color: #ffffff;
}
