/*
 * BUSINESS THEME COMPREHENSIVE FIXES
 * ==================================
 * 
 * Fixes for:
 * - White background overrides
 * - Dropdown blue line bugs
 * - Button styling consistency  
 * - Header text colors
 * - Glass theme application
 * - RevenueQR navbar font for all headers
 * - Merchandise dropdown functionality
 * 
 * Generated: <?php echo date('Y-m-d H:i:s'); ?>
 * Priority: Critical - Load this CSS last
 */

/* 🎨 REVENUEQR FONT STYLING FOR ALL HEADERS */
/* Apply the beautiful navbar font to all page titles and headers */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.card-title,
.modal-title,
.page-title,
.section-title,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.navbar-brand,
.stat-number,
.hero-title {
    font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', 'Liberation Mono', 'Menlo', monospace !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -0.02em !important;
}

/* Specific sizing for different header levels */
h1, .h1, .display-4 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

h2, .h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
}

h3, .h3 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
}

/* 🔥 UNIVERSAL GLASSMORPHISM FORM CONTROLS */
/* Apply to ALL form elements across all business pages */
.form-select, 
.form-control, 
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"], 
input[type="date"], 
input[type="time"], 
input[type="url"], 
input[type="search"], 
textarea, 
select {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.form-select:focus, 
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(100, 181, 246, 0.6) !important;
    box-shadow: 0 0 0 0.25rem rgba(100, 181, 246, 0.25) !important;
    color: rgba(255, 255, 255, 1) !important;
    outline: none !important;
}

/* Dropdown options styling */
.form-select option,
select option {
    background: rgba(30, 60, 114, 0.95) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    padding: 8px 12px !important;
}

.form-select option:hover, 
.form-select option:checked,
select option:hover,
select option:checked {
    background: rgba(59, 130, 246, 0.8) !important;
    color: #ffffff !important;
}

/* Placeholder styling for all inputs */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Form labels */
.form-label, 
label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

/* Input groups */
.input-group-text {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
}

/* Fix for file inputs */
.form-control[type="file"] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.form-control[type="file"]::-webkit-file-upload-button {
    background: rgba(59, 130, 246, 0.8) !important;
    border: none !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
}

/* Disabled state */
.form-control:disabled,
.form-select:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 0.6 !important;
}

h4, .h4 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
}

h5, .h5 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
}

h6, .h6 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
}

.card-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem !important;
}

/* Special styling for page headers */
.page-header h1,
.page-header .display-4 {
    font-size: 3rem !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 1rem !important;
}

/* Gradient text effect for main titles */
.hero-title,
.page-header h1,
.display-1, .display-2, .display-3, .display-4 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
}

/* 🔥 CRITICAL: OVERRIDE ALL WHITE BACKGROUNDS */
/* Force glass/transparent backgrounds everywhere */
/* Note: Card styles moved to revenueqr-unified.css to eliminate duplicates */
.card-body,
.card-header,
.card-footer,
.modal-content,
.bg-white,
.table,
table,
.table-responsive,
.alert,
.form-control,
.form-select,
.input-group,
.nav-tabs,
.tab-content,
.tab-pane,
.accordion,
.list-group,
.list-group-item {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Tables - Glass style with better readability */
.table,
table,
.table thead th,
.table tbody td,
.table-hover tbody tr:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.table thead th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* 🔥 DROPDOWN FIXES - ELIMINATE BLUE LINE BUG & MERCHANDISE DROPDOWN ISSUES */
.dropdown-menu,
.dropdown-menu.show,
select,
.form-select,
option {
    background: rgba(30, 60, 114, 0.95) !important;
    background-color: rgba(30, 60, 114, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important; /* Fix blue line */
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    z-index: 1050 !important; /* Ensure dropdowns appear above other content */
}

/* 🛠️ CLEAN MERCHANDISE DROPDOWN FIXES */
/* Simple background fix for merchandise dropdowns */
#businessMerchandiseDropdown + .dropdown-menu,
#adminMerchandiseDropdown + .dropdown-menu {
    background: rgba(30, 60, 114, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.dropdown-item,
.dropdown-menu .dropdown-item,
option {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important; /* Eliminate any bottom borders */
    pointer-events: auto !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: none !important;
}

/* 📜 NAVIGATION DROPDOWN SCROLL SUPPORT */
.navbar .dropdown-menu {
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.navbar .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.navbar .dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Fix select elements specifically */
select.form-select,
select.form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

select.form-select:focus,
select.form-control:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

/* 🔥 BUTTON FIXES - ALL SOLID COLORS */
.btn {
    border: none !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-primary {
    background: #1e3c72 !important;
    background-color: #1e3c72 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #2a5298 !important;
    background-color: #2a5298 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4) !important;
}

.btn-success {
    background: #28a745 !important;
    background-color: #28a745 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}

.btn-warning {
    background: #ffc107 !important;
    background-color: #ffc107 !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3) !important;
}

.btn-danger {
    background: #dc3545 !important;
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.btn-info {
    background: #17a2b8 !important;
    background-color: #17a2b8 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3) !important;
}

.btn-secondary {
    background: #6c757d !important;
    background-color: #6c757d !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3) !important;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #333333 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
}

.btn-dark {
    background: #343a40 !important;
    background-color: #343a40 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(52, 58, 64, 0.3) !important;
}

/* Outline buttons */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.btn-outline-primary:hover { background: #1e3c72 !important; color: #ffffff !important; }
.btn-outline-success:hover { background: #28a745 !important; color: #ffffff !important; }
.btn-outline-warning:hover { background: #ffc107 !important; color: #000000 !important; }
.btn-outline-danger:hover { background: #dc3545 !important; color: #ffffff !important; }
.btn-outline-info:hover { background: #17a2b8 !important; color: #ffffff !important; }
.btn-outline-secondary:hover { background: #6c757d !important; color: #ffffff !important; }

/* 🔥 HEADER TEXT FIXES - NO MORE BLACK TEXT */
.card-header,
.modal-title,
.navbar-brand,
.nav-link,
.breadcrumb-item,
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6,
.page-title,
.section-title {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Labels and form text */
.form-label,
.form-text,
.input-group-text,
label,
small,
.text-muted,
.text-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 🔥 FORM CONTROL FIXES */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px) !important;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 1) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Input group styling */
.input-group-text {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 🔥 ALERT FIXES */
.alert {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2) !important;
    border-color: rgba(40, 167, 69, 0.4) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.4) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.4) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.alert-info {
    background: rgba(23, 162, 184, 0.2) !important;
    border-color: rgba(23, 162, 184, 0.4) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* 🔥 MODAL FIXES - EXCEPT QR CODE MODALS */
.modal-content:not(.qr-modal) {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Keep QR code modals bright for scanning */
.modal-content.qr-modal,
.qr-modal .modal-content {
    background: #ffffff !important;
    color: #000000 !important;
}

/* 🔥 NAVIGATION FIXES */
/* Note: Navbar styles moved to revenueqr-unified.css to eliminate duplicates */

/* 🔥 BREADCRUMB FIXES */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 1) !important;
}

/* 🔥 PAGINATION FIXES */
.page-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.page-item.active .page-link {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #ffffff !important;
}

/* 🔥 BADGE FIXES */
.badge {
    font-weight: 500 !important;
    border-radius: 6px !important;
}

.badge.bg-primary { background: #1e3c72 !important; }
.badge.bg-success { background: #28a745 !important; }
.badge.bg-warning { background: #ffc107 !important; color: #000000 !important; }
.badge.bg-danger { background: #dc3545 !important; }
.badge.bg-info { background: #17a2b8 !important; }
.badge.bg-secondary { background: #6c757d !important; }

/* 🔥 PROGRESS BAR FIXES */
.progress {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
}

.progress-bar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}

/* 🔥 LIST GROUP FIXES */
.list-group-item {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.list-group-item.active {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #ffffff !important;
}

/* 🔥 FINAL OVERRIDES - HIGHEST PRIORITY */
body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #3d72b4 75%, #5a95d1 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    min-height: 100vh !important;
}

/* Force text color inheritance - DISABLED: causes navbar transparency issues */
/* * {
    color: inherit !important;
} */

/* Override any remaining white backgrounds */
.bg-white,
.bg-light,
.table-light {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 🔥 MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem !important;
        border-radius: 12px !important;
    }
    
    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .dropdown-menu {
        border-radius: 10px !important;
        margin-top: 0.5rem !important;
    }
    
    /* Adjust header sizes for mobile */
    h1, .h1, .display-4 {
        font-size: 2rem !important;
    }
    
    .page-header h1,
    .page-header .display-4 {
        font-size: 2.5rem !important;
    }
    
    h2, .h2 {
        font-size: 1.75rem !important;
    }
    
    h3, .h3 {
        font-size: 1.5rem !important;
    }
} 

/* 🎨 PHASE 2: COMPREHENSIVE THEME CONSOLIDATION */
/* Added: Enhanced color consistency and white background elimination */

/* 🔥 CRITICAL: PURPLE COLOR ELIMINATION */
/* Replace ALL purple gradients with proper blue brand colors */

/* Enhanced Gradients Purple → Blue Conversion */
.bg-gradient-ocean {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3d72b4 100%) !important;
}

.gradient-card-primary,
.btn-gradient-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4) !important;
}

.enhanced-bg-1 {
    background: linear-gradient(45deg, #1e3c72 0%, #2a5298 50%, #3d72b4 100%) !important;
}

.text-gradient-primary {
    background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Form Focus States - Replace Purple */
.form-control:focus,
.form-select:focus {
    border-color: #1e3c72 !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25) !important;
}

/* 🔥 ENHANCED MODAL GLASS THEME */
/* Complete override of white modal backgrounds */

.modal-content {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px !important;
}

.modal-body {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.modal-header {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.modal-footer {
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.modal-title {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* 🔥 COMPREHENSIVE TABLE GLASS THEME */
/* Override any remaining white table backgrounds */

.table-responsive {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.table th {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
}

.table td {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.table-striped > tbody > tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.05) !important;
}

.table-hover > tbody > tr:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 🔥 NAVIGATION TABS GLASS THEME */
/* Complete override of white nav backgrounds */

.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: transparent !important;
}

.nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px 8px 0 0 !important;
    margin-right: 2px !important;
}

.nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.nav-tabs .nav-link.active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-bottom-color: transparent !important;
}

/* 🔥 ACCORDION GLASS THEME */
.accordion-item {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
}

.accordion-header button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 🔥 ALERT GLASS THEME */
.alert {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
}

/* 🔥 PAGINATION GLASS THEME */
.pagination {
    background: transparent !important;
}

.page-item .page-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-item:hover .page-link {
    background: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.page-item.active .page-link {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #ffffff !important;
}

/* 🔥 FORCE BLUE BRAND COLORS */
/* CSS Variables Override */
:root {
    --primary-blue: #1e3c72 !important;
    --secondary-blue: #2a5298 !important;
    --accent-blue: #3d72b4 !important;
    --brand-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    
    /* Override any purple variables */
    --bs-primary: #1e3c72 !important;
    --bs-primary-rgb: 30, 60, 114 !important;
}

/* POS Terminal Blue Theme */
.pos-terminal {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}

/* 🔥 COMPREHENSIVE GLASS OVERRIDE */
/* Catch any remaining white backgrounds */
.bg-white,
.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

/* List Groups */
.list-group {
    background: transparent !important;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.list-group-item.active {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #ffffff !important;
} 

/* ===== DASHBOARD ENHANCED: FIRST ROW HORIZONTAL LAYOUT & DROPDOWN VISIBILITY ===== */
/* Load-order safe, high-specificity, and scoped to dashboard markup */
/* For top row, allow stacking (one per row); remove previous horizontal forcing */
#dash-first-row { display: block !important; overflow-x: visible !important; }
#dash-first-row > * { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
/* Remove blur only on dashboard cards to avoid stacking-context issues */
body .card.dashboard-card,
body .dashboard-card.card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}
/* Ensure dropdown menus render above cards */
body .dashboard-card .dropdown-menu {
    position: absolute !important;
    z-index: 20000 !important;
}

/* CLEAN NAVBAR SOLUTION */
/* Navbar background */
.navbar {
  background: rgba(30, 60, 114, 0.98) !important;
}

/* Dropdown menus */
.navbar .dropdown-menu {
  background: rgba(30, 60, 114, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
  /* Make hamburger button visible and opaque */
  nav.navbar .navbar-toggler,
  .navbar .navbar-toggler {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    z-index: 1050 !important;
  }
  
  /* Make hamburger icon visible */
  nav.navbar .navbar-toggler-icon,
  .navbar .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(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    opacity: 1 !important;
    filter: none !important;
  }
  
  /* Make navbar collapse area opaque */
  nav.navbar .navbar-collapse,
  .navbar .navbar-collapse {
    background: rgba(30, 60, 114, 0.98) !important;
    opacity: 1 !important;
  }
  
  /* Make mobile dropdowns visible and readable */
  nav.navbar .dropdown-menu,
  .navbar .dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: rgba(30, 60, 114, 0.98) !important;
    opacity: 1 !important;
  }
  
  /* Make dropdown items readable */
  nav.navbar .dropdown-item,
  .navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    opacity: 1 !important;
  }
  
  nav.navbar .dropdown-item:hover,
  .navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }
}

/* 🔥 SIMPLIFIED NAVIGATION DROPDOWN FIXES */
/* Provide styling without interfering with Bootstrap functionality */

/* DROPDOWN MENUS - Beautiful styling only */
/*
.navbar-nav .dropdown-menu {
    background: rgba(30, 60, 114, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.25rem !important;
}
*/

/* DROPDOWN ITEMS - Enhanced styling and interaction */
/*
.navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-decoration: none !important;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item:active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
}
*/

/* DROPDOWN TOGGLES - Basic styling only */
/*
.navbar-nav .dropdown-toggle {
    position: relative !important;
    cursor: pointer !important;
}
*/

/* Ensure Bootstrap dropdowns work properly */
/*
.dropdown {
    position: relative !important;
}

.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.255em !important;
    vertical-align: 0.255em !important;
    content: "" !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
}
*/

/* TESTING: Dropdowns without any custom CSS */

 
/* ========================================
   ENHANCED GRADIENTS - MERGED FROM enhanced-gradients.css
   ======================================== */

/* Enhanced Gradient and Border Styles for RevenueQR */

/* ===== BACKGROUND GRADIENTS ===== */

/* Linear Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #cc9a06 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #212529 0%, #16181b 100%);
}

/* Multi-color Gradients */
.bg-gradient-rainbow {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.bg-gradient-sunset {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #ff6b6b 100%);
}

.bg-gradient-ocean {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.bg-gradient-forest {
    background: linear-gradient(135deg, #134e5e 0%, #71b280 50%, #a8e6cf 100%);
}

.bg-gradient-fire {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 50%, #ff9a56 100%);
}

/* Radial Gradients */
.bg-radial-primary {
    background: radial-gradient(circle, #0d6efd 0%, #0a58ca 70%, #084298 100%);
}

.bg-radial-success {
    background: radial-gradient(circle, #198754 0%, #146c43 70%, #0f5132 100%);
}

.bg-radial-sunset {
    background: radial-gradient(circle, #ff7e5f 0%, #feb47b 50%, #ff6b6b 100%);
}

/* Conic Gradients */
.bg-conic-rainbow {
    background: conic-gradient(from 0deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
}

.bg-conic-primary {
    background: conic-gradient(from 45deg, #0d6efd, #6610f2, #d63384, #dc3545, #fd7e14, #ffc107, #198754, #20c997, #0dcaf0, #0d6efd);
}

/* ===== BORDER STYLES ===== */

/* Border Widths */
.border-thin { border-width: 1px !important; }
.border-medium { border-width: 2px !important; }
.border-thick { border-width: 3px !important; }
.border-extra-thick { border-width: 5px !important; }

/* Border Styles */
.border-solid { border-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.border-dotted { border-style: dotted !important; }
.border-double { border-style: double !important; }
.border-groove { border-style: groove !important; }
.border-ridge { border-style: ridge !important; }
.border-inset { border-style: inset !important; }
.border-outset { border-style: outset !important; }

/* Border Radius Variations */
.rounded-xs { border-radius: 2px !important; }
.rounded-sm { border-radius: 4px !important; }
.rounded-md { border-radius: 8px !important; }
.rounded-lg { border-radius: 12px !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-2xl { border-radius: 20px !important; }
.rounded-3xl { border-radius: 24px !important; }

/* Specific Corner Radius */
.rounded-top-left { border-top-left-radius: 12px !important; }
.rounded-top-right { border-top-right-radius: 12px !important; }
.rounded-bottom-left { border-bottom-left-radius: 12px !important; }
.rounded-bottom-right { border-bottom-right-radius: 12px !important; }

/* Border Colors */
.border-primary-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, #0d6efd, #6610f2) 1;
}

.border-success-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, #198754, #20c997) 1;
}

.border-rainbow-gradient {
    border: 3px solid;
    border-image: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) 1;
}

/* ===== ENHANCED CARD STYLES ===== */

/* Gradient Cards with Borders */
.card-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: 2px solid rgba(13, 110, 253, 0.3);
    border-radius: 12px;
    color: white;
}

.card-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: 2px solid rgba(25, 135, 84, 0.3);
    border-radius: 12px;
    color: white;
}

.card-gradient-sunset {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #ff6b6b 100%);
    border: 2px solid rgba(255, 126, 95, 0.3);
    border-radius: 12px;
    color: white;
}

.card-gradient-ocean {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    color: white;
}

/* Glass Effect Cards - Change to solid blue */
.card-glass {
    background: #0066ff;  /* Changed from rgba(255, 255, 255, 0.1) to solid blue */
    backdrop-filter: none;  /* Remove blur effect */
    border: 2px solid #3388ff;  /* Solid blue border */
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-glass-dark {
    background: #004dd9;  /* Changed from rgba(0, 0, 0, 0.1) to dark blue */
    backdrop-filter: none;  /* Remove blur effect */
    border: 2px solid #00ccff;  /* Bright blue border */
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTON GRADIENTS ===== */

.btn-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-success:hover {
    background: linear-gradient(135deg, #157347 0%, #0f5132 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    color: white;
}

.btn-gradient-sunset {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-sunset:hover {
    background: linear-gradient(135deg, #ff6b47 0%, #fd9853 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.3);
    color: white;
}

/* ===== QR CODE SPECIFIC STYLES ===== */

/* QR Container with Enhanced Borders */
.qr-container-fancy {
    padding: 20px;
    border: 3px solid;
    border-image: linear-gradient(45deg, #0d6efd, #6610f2, #d63384) 1;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(102, 16, 242, 0.05) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.qr-container-neon {
    padding: 20px;
    border: 2px solid #00ff00;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00,
        inset 0 0 10px rgba(0, 255, 0, 0.1);
}

.qr-container-retro {
    padding: 20px;
    border: 4px solid #ff6b6b;
    border-style: dashed;
    border-radius: 0;
    background: linear-gradient(45deg, #ff6b6b 25%, transparent 25%), 
                linear-gradient(-45deg, #ff6b6b 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #ff6b6b 75%), 
                linear-gradient(-45deg, transparent 75%, #ff6b6b 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* ===== UTILITY CLASSES ===== */

/* Shadow Variations */
.shadow-gradient {
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.shadow-success {
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.shadow-sunset {
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.2);
}

.shadow-neon {
    box-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor;
}

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
}

.glow-success {
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.5);
}

.glow-warning {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.glow-danger {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

/* Animated Gradients */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
    100% { box-shadow: 0 0 5px currentColor; }
}

.bg-gradient-animated {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-gradient-pulse {
    background: linear-gradient(-45deg, #0d6efd, #6610f2, #d63384, #dc3545);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

/* Additional Animation Keyframes for QR Previews */
@keyframes gradientPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
    100% { box-shadow: 0 0 5px currentColor; }
}

/* QR Preview Animation Classes */
.qr-preview-shift {
    animation: gradientShift 5s ease infinite;
}

.qr-preview-pulse {
    animation: gradientPulse 3s ease infinite;
}

.qr-preview-rotate {
    animation: gradientRotate 10s linear infinite;
}

.qr-preview-border-glow {
    animation: borderGlow 2s ease infinite;
}

/* Animation Speed Variants */
.animation-slow {
    animation-duration: 5s;
}

.animation-medium {
    animation-duration: 3s;
}

.animation-fast {
    animation-duration: 1s;
}

/* Border Animation Classes */
.border-animated-glow {
    animation: borderGlow 2s ease infinite;
}

.border-animated-pulse {
    animation: gradientPulse 2s ease infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-gradient-primary,
    .card-gradient-success,
    .card-gradient-sunset,
    .card-gradient-ocean {
        border-radius: 8px;
        border-width: 1px;
    }
    
    .qr-container-fancy,
    .qr-container-neon,
    .qr-container-retro {
        padding: 15px;
        border-width: 2px;
    }
}

/* ===== QR STORE CARD HEADER DARK GRADIENTS ===== */

/* Dark gradient for VIP/Legendary cards */
.card-header.bg-warning {
    background: linear-gradient(135deg, #2c1810 0%, #5d3a1a 50%, #8b4513 100%) !important;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Dark gradient for Epic/Info cards */
.card-header.bg-info {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border-bottom: 2px solid rgba(13, 202, 240, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Dark gradient for Rare/Success cards */
.card-header.bg-success {
    background: linear-gradient(135deg, #0f1419 0%, #1a2e1a 50%, #2d5a2d 100%) !important;
    border-bottom: 2px solid rgba(25, 135, 84, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Dark gradient for Common/Secondary cards */
.card-header.bg-secondary {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%) !important;
    border-bottom: 2px solid rgba(108, 117, 125, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Enhanced text styling for dark headers */
.card-header.bg-warning,
.card-header.bg-info,
.card-header.bg-success,
.card-header.bg-secondary {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px 16px 0 0 !important;
}

/* Badge styling for dark headers */
.card-header .badge.bg-light {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    text-shadow: none !important;
}

/* Icon styling for dark headers */
.card-header .bi {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Hover effects for dark header cards */
.card:hover .card-header.bg-warning {
    background: linear-gradient(135deg, #3d2318 0%, #6e4622 50%, #a0591c 100%) !important;
}

.card:hover .card-header.bg-info {
    background: linear-gradient(135deg, #1e2a3a 0%, #2d3e50 50%, #3a4d63 100%) !important;
}

.card:hover .card-header.bg-success {
    background: linear-gradient(135deg, #1a2520 0%, #2d4532 50%, #3a5a3a 100%) !important;
}

.card:hover .card-header.bg-secondary {
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 50%, #505050 100%) !important;
}

/* ===== AVATAR PREVIEW STYLING ===== */

/* Avatar preview containers */
.avatar-preview-container {
    position: relative;
    display: inline-block;
}

/* Avatar preview images */
.avatar-preview {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.avatar-preview:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Avatar glow effect for special avatars */
.avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    animation: avatarGlow 2s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes avatarGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Rarity-specific avatar glows */
.avatar-preview-container[data-rarity="legendary"] .avatar-glow {
    background: radial-gradient(circle, rgba(255, 193, 7, 0.4) 0%, rgba(255, 193, 7, 0.1) 50%, transparent 100%);
}

.avatar-preview-container[data-rarity="epic"] .avatar-glow {
    background: radial-gradient(circle, rgba(13, 202, 240, 0.4) 0%, rgba(13, 202, 240, 0.1) 50%, transparent 100%);
}

.avatar-preview-container[data-rarity="rare"] .avatar-glow {
    background: radial-gradient(circle, rgba(25, 135, 84, 0.4) 0%, rgba(25, 135, 84, 0.1) 50%, transparent 100%);
}

.avatar-preview-container[data-rarity="common"] .avatar-glow {
    background: radial-gradient(circle, rgba(108, 117, 125, 0.4) 0%, rgba(108, 117, 125, 0.1) 50%, transparent 100%);
}

/* Avatar card body adjustments */
.card .card-body:has(.avatar-preview-container) {
    padding-top: 1.5rem;
}

/* Avatar fallback styling */
.avatar-preview[src$=".png"]:not([src*="/"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Avatar hover effects for different rarities */
.card:hover .avatar-preview {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

/* Special effects for legendary avatars */
.card .avatar-preview-container[data-rarity="legendary"] .avatar-preview {
    animation: legendaryPulse 3s ease-in-out infinite;
}

@keyframes legendaryPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 193, 7, 0.3);
    }
}

/* Responsive avatar sizing */
@media (max-width: 768px) {
    .avatar-preview {
        width: 100px !important;
        height: 100px !important;
    }
    
    .avatar-glow {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
    }
}

/* ===== DASHBOARD CARD SPACING ===== */

/* Add padding between card rows */
.card-row {
    margin-bottom: 1.5rem;
}

.card-row:last-child {
    margin-bottom: 0;
}

/* Glass effect for dashboard cards with improved padding */
.dashboard-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card body padding adjustments */
.dashboard-card .card-body {
    padding: 1.25rem;
}

.dashboard-card .card-header {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-card .card-footer {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced mobile responsiveness for card rows */
@media (max-width: 768px) {
    .card-row {
        margin-bottom: 1rem;
    }
    
    .dashboard-card {
        margin-bottom: 0.5rem;
    }
    
    .dashboard-card .card-body {
        padding: 1rem;
    }
    
    .dashboard-card .card-header {
        padding: 0.75rem 1rem;
    }
    
    .dashboard-card .card-footer {
        padding: 0.5rem 1rem;
    }
} 