/* ============================================
   💙 BRIGHT BLUE GLASSMORPHISM EFFECTS
   Elegant Feminine Glass Design System
   ============================================ */

/* ============================================
   BASE GLASS STYLES
   ============================================ */

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(65, 105, 225, 0.2);
    box-shadow: 0 8px 32px 0 rgba(65, 105, 225, 0.15);
}

.glass-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 8px 32px 0 rgba(135, 206, 235, 0.2);
}

.glass-dark {
    background: rgba(240, 248, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(65, 105, 225, 0.3);
    box-shadow: 0 8px 32px 0 rgba(65, 105, 225, 0.25);
}

.glass-white {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(135, 206, 235, 0.4);
    box-shadow: 0 8px 32px 0 rgba(135, 206, 235, 0.2);
}

.glass-primary {
    background: rgba(135, 206, 235, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(65, 105, 225, 0.4);
    box-shadow: 0 8px 32px 0 rgba(65, 105, 225, 0.3);
}

.glass-gradient {
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.2) 0%,
        rgba(118, 75, 162, 0.2) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.37);
}

/* ============================================
   GLASS CARDS
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-card-white {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.glass-card-light {
    background: rgba(240, 248, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 8px 32px 0 rgba(65, 105, 225, 0.2);
    padding: 2rem;
    transition: all 0.3s ease;
    color: #1E3A8A;
}

.glass-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(65, 105, 225, 0.3);
    border-color: rgba(65, 105, 225, 0.4);
}

/* ============================================
   GLASS NAVBAR
   ============================================ */

.glass-navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-navbar-bright {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 4px 30px rgba(65, 105, 225, 0.1);
}

/* ============================================
   GLASS BUTTONS
   ============================================ */

.glass-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 50px;
    padding: 12px 30px;
    color: #1E3A8A;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2);
}

.glass-btn:hover {
    background: rgba(65, 105, 225, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
    color: #4169E1;
}

.glass-btn-primary {
    background: linear-gradient(135deg, #87CEEB 0%, #4169E1 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
}

.glass-btn-primary:hover {
    background: linear-gradient(135deg, #4169E1 0%, #87CEEB 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
    color: white;
}

/* ============================================
   GLASS MODALS
   ============================================ */

.glass-modal {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-modal-backdrop {
    background: rgba(240, 248, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* ============================================
   GLASS INPUTS
   ============================================ */

.glass-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    color: white;
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.glass-input-white {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s ease;
}

.glass-input-white:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* ============================================
   GLASS BADGES
   ============================================ */

.glass-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: 600;
    display: inline-block;
}

.glass-badge-primary {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.glass-badge-success {
    background: rgba(17, 153, 142, 0.3);
    border-color: rgba(17, 153, 142, 0.5);
}

.glass-badge-warning {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.5);
}

.glass-badge-danger {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

/* ============================================
   GLASS ALERTS
   ============================================ */

.glass-alert {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: white;
}

.glass-alert-info {
    background: rgba(13, 202, 240, 0.2);
    border-color: rgba(13, 202, 240, 0.4);
}

.glass-alert-success {
    background: rgba(25, 135, 84, 0.2);
    border-color: rgba(25, 135, 84, 0.4);
}

.glass-alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.glass-alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

/* ============================================
   GLASS DROPDOWN
   ============================================ */

.glass-dropdown {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-dropdown-item {
    color: white;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.glass-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ============================================
   GLASS SIDEBAR
   ============================================ */

.glass-sidebar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 4px 0 30px rgba(65, 105, 225, 0.1);
}

/* ============================================
   GLASS FOOTER
   ============================================ */

.glass-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 -4px 30px rgba(65, 105, 225, 0.1);
}

/* ============================================
   GLASS EFFECTS
   ============================================ */

.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.glass-shine:hover::before {
    left: 100%;
}

.glass-border-gradient {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2px;
}

.glass-border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ============================================
   GLASS BLUR LEVELS
   ============================================ */

.glass-blur-sm {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.glass-blur-md {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-blur-lg {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-blur-xl {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* ============================================
   GLASS OPACITY LEVELS
   ============================================ */

.glass-opacity-10 {
    background: rgba(255, 255, 255, 0.1);
}

.glass-opacity-20 {
    background: rgba(255, 255, 255, 0.2);
}

.glass-opacity-30 {
    background: rgba(255, 255, 255, 0.3);
}

.glass-opacity-40 {
    background: rgba(255, 255, 255, 0.4);
}

.glass-opacity-50 {
    background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE GLASS
   ============================================ */

@media (max-width: 768px) {
    .glass-card,
    .glass-card-white,
    .glass-card-dark {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .glass-btn,
    .glass-btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   BROWSER FALLBACKS
   ============================================ */

@supports not (backdrop-filter: blur(10px)) {
    .glass,
    .glass-light,
    .glass-white,
    .glass-primary,
    .glass-gradient,
    .glass-card,
    .glass-card-white,
    .glass-card-light,
    .glass-navbar,
    .glass-navbar-bright,
    .glass-btn,
    .glass-btn-primary,
    .glass-modal,
    .glass-input,
    .glass-input-white,
    .glass-dropdown,
    .glass-sidebar,
    .glass-footer {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* ============================================
   💙 BRIGHT BLUE NAVBAR STYLES
   ============================================ */

.glass-navbar-light {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.1);
}

.glass-navbar-light .navbar-nav .nav-link {
    color: #1E3A8A !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 16px !important;
    margin: 0 4px;
}

.glass-navbar-light .navbar-nav .nav-link:hover,
.glass-navbar-light .navbar-nav .nav-link.active {
    color: #4169E1 !important;
    background: rgba(65, 105, 225, 0.1);
    transform: translateY(-2px);
}

.glass-navbar-light .navbar-toggler {
    border: 1px solid rgba(65, 105, 225, 0.3) !important;
}

.glass-navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2865, 105, 225, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Light Dropdown Styles */
.glass-dropdown-light {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(135, 206, 235, 0.3) !important;
    box-shadow: 0 10px 40px rgba(65, 105, 225, 0.15) !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    margin-top: 8px !important;
}

.glass-dropdown-item-light {
    color: #1E3A8A !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

.glass-dropdown-item-light:hover,
.glass-dropdown-item-light.active {
    background: rgba(65, 105, 225, 0.1) !important;
    color: #4169E1 !important;
    transform: translateX(5px) !important;
}

/* Glass Button Primary for Light Theme */
.glass-btn-primary {
    background: linear-gradient(135deg, #87CEEB 0%, #4169E1 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2) !important;
}

.glass-btn-primary:hover {
    background: linear-gradient(135deg, #4169E1 0%, #87CEEB 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3) !important;
    color: white !important;
}

/* Mobile Navbar Collapse for Light Theme */
@media (max-width: 991px) {
    .glass-navbar-light .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 12px !important;
        margin-top: 10px !important;
        padding: 15px !important;
        border: 1px solid rgba(135, 206, 235, 0.3) !important;
        box-shadow: 0 8px 32px rgba(65, 105, 225, 0.15) !important;
    }
}
/* ============================================
   💙 STATIC BRIGHT BLUE NAVBAR - NO SCROLL ANIMATION
   ============================================ */

/* Static navbar - no color changes on scroll */
.glass-navbar-light {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.1);
    transition: box-shadow 0.3s ease !important;
}

/* Enhanced shadow on scroll but no color change */
.glass-navbar-light.navbar-scrolled {
    box-shadow: 0 8px 32px rgba(65, 105, 225, 0.2);
}

.glass-navbar-light .navbar-nav .nav-link {
    color: #1E3A8A !important;
    font-weight: 500;
    transition: all 0.3s ease !important;
    border-radius: 8px;
    padding: 8px 16px !important;
    margin: 0 4px;
}

.glass-navbar-light .navbar-nav .nav-link:hover,
.glass-navbar-light .navbar-nav .nav-link.active {
    color: #4169E1 !important;
    background: rgba(65, 105, 225, 0.1);
    transform: translateY(-2px);
}

.glass-navbar-light .navbar-toggler {
    border: 1px solid rgba(65, 105, 225, 0.3) !important;
}

.glass-navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2865, 105, 225, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Light Dropdown Styles */
.glass-dropdown-light {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(135, 206, 235, 0.3) !important;
    box-shadow: 0 10px 40px rgba(65, 105, 225, 0.15) !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    margin-top: 8px !important;
}

.glass-dropdown-item-light {
    color: #1E3A8A !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

.glass-dropdown-item-light:hover,
.glass-dropdown-item-light.active {
    background: rgba(65, 105, 225, 0.1) !important;
    color: #4169E1 !important;
    transform: translateX(5px) !important;
}

/* Glass Button Primary for Light Theme */
.glass-btn-primary {
    background: linear-gradient(135deg, #87CEEB 0%, #4169E1 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2) !important;
}

.glass-btn-primary:hover {
    background: linear-gradient(135deg, #4169E1 0%, #87CEEB 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3) !important;
    color: white !important;
}

/* Mobile Navbar Collapse for Light Theme */
@media (max-width: 991px) {
    .glass-navbar-light .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 12px !important;
        margin-top: 10px !important;
        padding: 15px !important;
        border: 1px solid rgba(135, 206, 235, 0.3) !important;
        box-shadow: 0 8px 32px rgba(65, 105, 225, 0.15) !important;
    }
}