/* === SIDEBAR MODERN STYLES - Paleta gob.mx === */
.sidebar-modern {
    background: linear-gradient(180deg, #611232 0%, #4a0e27 50%, #3d0b20 100%) !important;
    border: none !important;
    width: 300px !important;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo img {
    height: 32px;
    width: auto;
}

.sidebar-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #235B4E 0%, #13322B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(35, 91, 78, 0.4);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-role {
    color: #BC955C;
    font-size: 0.8rem;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(188, 149, 92, 0.3), transparent);
    margin: 0.5rem 1.5rem;
}

.sidebar-body {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu-label {
    color: #BC955C;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 0.75rem 1.5rem 0.5rem;
    text-transform: uppercase;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-item {
    margin: 0.25rem 0.75rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.sidebar-nav-link.active {
    background: linear-gradient(135deg, #235B4E 0%, #13322B 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(35, 91, 78, 0.4);
}

.sidebar-nav-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sidebar-nav-link:hover .sidebar-nav-icon {
    background: rgba(35, 91, 78, 0.4);
}

.sidebar-nav-link.active .sidebar-nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav-text {
    font-weight: 500;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(188, 149, 92, 0.2);
}

.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar-logout:hover {
    background: rgba(165, 127, 44, 0.2);
    color: #DDC9A3;
}

.sidebar-logout i {
    font-size: 1.1rem;
}

/* Scrollbar personalizado */
.sidebar-body::-webkit-scrollbar {
    width: 5px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(188, 149, 92, 0.3);
    border-radius: 10px;
}

.sidebar-body::-webkit-scrollbar-thumb:hover {
    background: rgba(188, 149, 92, 0.5);
}
