﻿
:root {
    --main-color: #025e5c;
    --main-soft: #e6f2f1;
    --bg-body: #f0f2f5;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --glass-bg: rgba(255, 255, 255, 0.9);
}
body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    padding-bottom: 50px;
}
.accordion-header{
    width:100%;
}
.fw-800 {
    font-size: 30px;
    font-weight: 800;
}
.text-muted {
    text-align: justify;
}
/* SIDEBAR MODERN */
.sidebar-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: sticky;
    top: 20px;
}

.sidebar-header {
    background: var(--main-color);
    color: white;
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.accordion-item {
    border: none;
}

.accordion-button {
    padding: 15px 20px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
}

    .accordion-button:not(.collapsed) {
        color: var(--main-color);
        background: var(--main-soft);
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
    }

.list-group-item {
    border: none;
    padding: 12px 20px 12px 45px;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

    .list-group-item:hover, .list-group-item.active {
        background-color: transparent !important;
        color: var(--main-color) !important;
        font-weight: 600;
        padding-left: 50px;
    }

/* HEADER BAR */
.content-header {
    background: var(--main-color);
    border-radius: 16px 16px 0 0;
    padding: 15px 25px;
    color: white;
}

.search-input {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
}

    .search-input::placeholder {
        color: rgba(255,255,255,0.7);
    }

/* CONTENT BOX */
.main-box {
    background: white;
    border-radius: 0 0 16px 16px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
}

/* TABS MODERN */
.nav-tabs {
    border-bottom: 2px solid #edf2f7;
}

    .nav-tabs .nav-link {
        border: none;
        color: var(--text-muted);
        font-weight: 600;
        padding: 12px 25px;
        position: relative;
    }

        .nav-tabs .nav-link.active {
            color: var(--main-color);
            background: transparent;
        }

            .nav-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--main-color);
                border-radius: 3px;
            }

/* STAFF CARD MODERN */
.staff-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .staff-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.06);
        border-color: var(--main-soft);
    }

.staff-avatar {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.staff-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 4px;
}

.info-pill {
    background: #f8fafb;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

    .info-pill i {
        color: var(--main-color);
        width: 25px;
    }

.work-badge {
    background: var(--main-soft);
    color: var(--main-color);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.work-item {
    font-size: 0.9rem;
    color: #4a5568;
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

    .work-item::before {
        content: "•";
        color: var(--main-color);
        position: absolute;
        left: 0;
        font-weight: bold;
    }

@media (max-width: 768px) {
    .sidebar-container {
        position: static;
        margin-bottom: 20px;
    }

    .staff-card {
        text-align: center;
    }

    .info-pill {
        text-align: left;
    }
}
.unit-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    background: #f8fafb;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

    .info-item:hover {
        background: var(--main-soft);
        transform: translateY(-2px);
    }

.info-icon {
    width: 35px;
    height: 35px;
    background: white;
    color: var(--main-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.info-text {
    font-size: 0.9rem;
    color: #4a5568;
}

.info-label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.animate-fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unit-link.active {
    background-color: var(--main-color) !important;
    color: white !important;
    border-color: var(--main-color);
}

.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 10;
    justify-content: center;
    align-items: center;
}