/*
============================================
GLASSMORPHISM ENHANCEMENTS
Navbar, Sidebar, and Floating Elements
============================================
*/

/* ===========================
   NAVBAR GLASSMORPHISM
   =========================== */
.navbar-area {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.navbar-area.navbar-sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Navbar on Dark Backgrounds */
.navbar-area.navbar-dark {
    background: rgba(26, 31, 44, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===========================
   SIDEBAR GLASSMORPHISM
   =========================== */
.profile-sidebar,
.profile-sidebar-wrapper {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.profile-sidebar-list {
    background: transparent;
}

.profile-sidebar-list li a {
    transition: all 0.2s ease;
}

.profile-sidebar-list li a:hover,
.profile-sidebar-list li a.active {
    background: rgba(29, 191, 115, 0.08);
    border-left: 3px solid #1DBF73;
}

/* ===========================
   FLOATING CARDS
   =========================== */
.profile-settings-wrapper,
.single-profile-settings {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===========================
   MODAL GLASSMORPHISM
   =========================== */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ===========================
   DROPDOWN GLASSMORPHISM
   =========================== */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===========================
   CHAT HEADER GLASSMORPHISM
   =========================== */
.chat-wrapper-contact-header,
.chat-wrapper-details-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===========================
   MOBILE OPTIMIZATIONS
   =========================== */
@media (max-width: 768px) {

    .navbar-area,
    .profile-sidebar {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ===========================
   PERFORMANCE OPTIMIZATION
   =========================== */
@supports not (backdrop-filter: blur(12px)) {
    .navbar-area {
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .profile-sidebar {
        background: rgba(255, 255, 255, 1) !important;
    }
}