/* Multenix/css_main.css */

/* CSS Variables for Premium Black & Gold Theme */
:root {
    /* Color Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-glass: rgba(17, 17, 17, 0.8);
    
    --gold-primary: #FFD700;
    --gold-secondary: #E5C100;
    --gold-tertiary: #F7E86C;
    --gold-gradient: linear-gradient(135deg, #FFD700, #E5C100, #F7E86C);
    
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    
    --border-light: rgba(255, 215, 0, 0.2);
    --border-medium: rgba(255, 215, 0, 0.4);
    --border-strong: rgba(255, 215, 0, 0.6);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Typography */
    --font-family: 'Inter', 'Manrope', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    
    /* Borders & Shadows */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glass Effect Utility */
.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.btn-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
}

.btn-full {
    width: 100%;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-help {
    display: block;
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.form-input-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
}

/* Alert Styles */
.alert {
    padding: var(--space-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    border: 1px solid;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
    color: #FCA5A5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10B981;
    color: #6EE7B7;
}

/* Navigation */
.main-nav {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h2 {
    margin: 0;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold-primary);
}

/* Landing Hero */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--space-2xl) var(--space-md);
}

.hero-container {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-features {
    margin-top: var(--space-2xl);
    animation: fadeInUp 1s ease 0.6s both;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* Admin Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-light);
    padding: var(--space-lg) 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 var(--space-lg) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-lg);
}

.sidebar-nav {
    list-style: none;
    padding: 0 var(--space-lg);
}

.sidebar-nav li {
    margin-bottom: var(--space-xs);
}

.sidebar-nav a {
    display: block;
    padding: var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
}

.logout-link {
    color: #EF4444 !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    background: var(--bg-primary);
}

.admin-header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: var(--space-xl);
}

/* Content Cards */
.content-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid var(--border-light);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-info h3 {
    font-size: var(--font-size-2xl);
    margin: 0;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Data Tables */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--bg-secondary);
    color: var(--gold-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.data-table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: capitalize;
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-trial {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-trial_expired {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-suspended {
    background: rgba(107, 114, 128, 0.2);
    color: #6B7280;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-verified {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-md);
}

.modal-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--gold-primary);
}

.modal-body {
    padding: var(--space-lg);
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--space-xl);
}

.auth-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-xl);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-title {
    margin-bottom: var(--space-sm);
}

.auth-subtitle {
    color: var(--text-muted);
}

.auth-form {
    margin-bottom: var(--space-xl);
}

.auth-footer {
    text-align: center;
}

.auth-link {
    color: var(--gold-primary);
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Public Page Styles */
.public-nav {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.public-main {
    margin-top: 80px;
}

.public-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.public-stats {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.stats-grid-public {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.public-about,
.public-services,
.public-contact {
    padding: var(--space-2xl) 0;
}

/* Additional Styles for Missing Elements */

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.quick-action-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

.activity-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    margin: 0 0 var(--space-xs) 0;
    color: var(--text-primary);
}

.activity-time {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

/* Badge */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gold-primary);
    color: var(--bg-primary);
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.badge-primary {
    background: var(--gold-primary);
    color: var(--bg-primary);
}

/* Trial Banners */
.trial-banner {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #F59E0B;
    padding: var(--space-sm);
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: var(--space-sm);
}

.trial-expired-banner {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #EF4444;
    padding: var(--space-sm);
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: var(--space-sm);
}

.active-banner {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10B981;
    padding: var(--space-sm);
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: var(--space-sm);
}

/* Welcome Banner */
.welcome-banner {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-2xl);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.quick-action-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.action-icon {
    font-size: 2rem;
}

.action-text h4 {
    margin: 0 0 var(--space-xs) 0;
    font-size: var(--font-size-base);
}

.action-text p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 1rem;
        --space-2xl: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .auth-glass {
        padding: var(--space-xl);
    }
    
    .content-card {
        padding: var(--space-lg);
    }
    
    .admin-header {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-effect {
        background: white !important;
        backdrop-filter: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn {
        display: none !important;
    }
}
/* Enhanced styles for new components */

/* Product Grid Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    font-size: 3rem;
    color: var(--text-muted);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.hot-sale {
    background: #EF4444;
    color: white;
}

.product-badge.trending {
    background: #10B981;
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.product-category {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin: 0 0 0.5rem 0;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.product-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

/* Form Grid Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-medium);
    border-radius: 3px;
    position: relative;
}

.checkbox-label input:checked + .checkmark {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: var(--bg-primary);
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* School Management Styles */
.class-structure {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.academic-level h4 {
    margin-bottom: 0.5rem;
    color: var(--gold-primary);
}

.classes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.class-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.admission-preview {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Search Box */
.search-box {
    margin-left: auto;
}

.search-box .form-input-sm {
    width: 250px;
}

/* Enhanced Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
}

/* Backup Styles */
.backup-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box {
        margin-left: 0;
        width: 100%;
    }
    
    .search-box .form-input-sm {
        width: 100%;
    }
}
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
/* ============================================
   BUSINESS MANAGEMENT MODULE STYLES
   Fully responsive for all devices
   ============================================ */

/* ── Sub Navigation Tabs (mxa-tabs) ───────────────────────── */
.mxa-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mxa-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.mxa-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 215, 0, 0.05);
}

.mxa-tab.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.08);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold-primary);
}

.breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ── Back Button ─────────────────────────────────────────── */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem 0.4rem 0.6rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 1rem;
}

.back-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: var(--bg-hover);
}

.back-btn-arrow {
    font-size: 0.9rem;
}

/* ── Stats Grid (Dashboard) ───────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg, 12px);
    padding: 1rem 1.25rem;
    transition: all 0.2s;
    cursor: default;
}

.stat-card[onclick] {
    cursor: pointer;
}

.stat-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.stat-trend {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Quick Action Cards ──────────────────────────────────── */
.quick-action-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg, 12px);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.quick-action-card:hover {
    border-color: var(--border-medium);
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.quick-action-card .qac-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.quick-action-card .qac-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.quick-action-card .qac-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.primary-action-card {
    border-color: var(--border-medium) !important;
    background: rgba(255, 215, 0, 0.08) !important;
}

.primary-action-card .qac-title {
    color: var(--gold-primary);
}

/* ── Product Management (pm-* classes) ───────────────────── */
.pm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pm-stat {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.pm-stat-val {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pm-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pm-toolbar-left,
.pm-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pm-search {
    padding: 0.6rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.875rem;
    width: 220px;
}

.pm-search:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.pm-filter-sel {
    padding: 0.6rem 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
}

.pm-filter-sel:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.pm-csv-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.pm-link {
    color: var(--gold-primary);
    text-decoration: none;
}

.pm-link:hover {
    text-decoration: underline;
}

/* Product Cards Grid */
.pm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.pm-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pm-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.pm-card-inactive {
    opacity: 0.55;
}

.pm-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.pm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-card:hover .pm-card-img img {
    transform: scale(1.05);
}

.pm-img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.4;
}

.pm-badge-featured {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--gold-gradient);
    color: var(--bg-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.pm-badge-type {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.pm-card-body {
    padding: 1rem;
    flex: 1;
}

.pm-card-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.pm-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 0.6rem;
    line-height: 1.45;
}

.pm-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.pm-price-contact {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.pm-chip {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.3rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.pm-chip-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.pm-chip-inactive {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.pm-card-actions {
    border-top: 1px solid var(--border-light);
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pm-action-btn {
    background: none;
    border: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.pm-action-btn:hover {
    background: var(--bg-tertiary);
}

.pm-pay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.6rem !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
    font-size: 0.7rem !important;
    color: var(--text-muted);
    transition: all 0.2s;
}

.pm-pay-toggle:hover {
    border-color: var(--gold-primary) !important;
    color: var(--gold-primary);
}

.pm-pay-toggle.pm-pay-on {
    background: rgba(255, 215, 0, 0.12) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    color: var(--gold-primary) !important;
}

.pm-pay-lbl {
    font-size: 0.68rem;
    font-weight: 700;
}

/* Product Alerts */
.pm-alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.pm-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.pm-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Product Empty State */
.pm-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-glass);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
}

.pm-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.pm-empty h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pm-empty p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Product Modal */
.pm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.pm-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
}

.pm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.pm-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.pm-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.pm-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.pm-modal-body {
    padding: 1.5rem;
}

.pm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

/* Product Form Elements */
.pm-form-group {
    margin-bottom: 1rem;
}

.pm-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.35rem;
}

.pm-req {
    color: #ef4444;
}

.pm-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.pm-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.pm-textarea {
    min-height: 90px;
    resize: vertical;
}

.pm-input-sm {
    max-width: 100px;
}

.pm-form-row {
    margin-bottom: 1rem;
}

.pm-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pm-type-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pm-type-opt {
    cursor: pointer;
}

.pm-type-opt input {
    display: none;
}

.pm-type-box {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.pm-type-opt input:checked + .pm-type-box {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: transparent;
}

.pm-toggles-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.pm-toggle-label {
    cursor: pointer;
}

.pm-toggle-label input {
    display: none;
}

.pm-toggle-box {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.pm-toggle-label input:checked + .pm-toggle-box {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.pm-file-drop {
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}

.pm-file-drop:hover {
    border-color: var(--gold-primary);
}

.pm-file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.pm-file-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

/* CSV Table */
.pm-csv-info {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.pm-csv-info code {
    background: var(--bg-tertiary);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.pm-csv-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.82rem;
}

.pm-csv-table th,
.pm-csv-table td {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border-light);
    text-align: left;
}

.pm-csv-table th {
    background: var(--bg-tertiary);
    color: var(--gold-primary);
}

/* Buttons inside product management */
.pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pm-btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-primary);
}

.pm-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.pm-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.pm-btn-secondary:hover {
    border-color: var(--gold-primary);
}

.pm-btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.pm-btn-ghost:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

/* ── QR Code Generator ───────────────────────────────────── */
/* QR preview container */
#qrPreview_public,
#qrPreview_reviews {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
}

#qrPreview_public img,
#qrPreview_reviews img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
}

/* QR animation */
@keyframes qrPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Usage tips grid */
.usage-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
}

.usage-tip {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 0.35rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* ── Reviews Management ───────────────────────────────────── */
.reviews-management-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.reviews-hero-header {
    background: linear-gradient(135deg, var(--gold-primary) 0%, #E5C100 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    color: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin: 0 0 0.75rem 0;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.reviews-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card-premium {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.stat-card-premium:hover {
    transform: translateY(-3px);
}

.stat-card-premium .stat-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.stat-card-premium .stat-data h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.stat-card-premium .stat-data span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Reviews Controls */
.reviews-controls-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tabs-premium {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.filter-tab:hover {
    background: var(--bg-glass);
    border-color: var(--gold-primary);
}

.filter-tab.active {
    background: var(--gold-primary);
    color: var(--bg-primary);
    border-color: var(--gold-primary);
}

.tab-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.controls-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 220px;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.sort-select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Review Cards */
.review-card-premium {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.review-card-premium:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.review-header-premium {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), #E5C100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.reviewer-info-premium {
    flex: 1;
    min-width: 200px;
}

.reviewer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars-large {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-container {
    width: 18px;
    height: 18px;
}

.star-svg {
    width: 100%;
    height: 100%;
    fill: #e5e7eb;
}

.star-container.filled .star-svg {
    fill: var(--gold-primary);
}

.rating-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-left: 0.25rem;
}

.review-meta-premium {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-approved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-approved .status-dot {
    background: #22c55e;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-pending .status-dot {
    background: #f59e0b;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-rejected .status-dot {
    background: #ef4444;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.review-actions-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.success-btn {
    background: #22c55e;
    color: white;
}

.success-btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.error-btn {
    background: #ef4444;
    color: white;
}

.error-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.outline-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.outline-btn:hover {
    border-color: var(--gold-primary);
    transform: translateY(-1px);
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
}

.quick-action-btn {
    padding: 0.4rem 0.8rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.quick-action-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
}

/* Empty State */
.empty-state-premium {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-glass);
    border-radius: 20px;
    border: 2px dashed var(--border-light);
}

.empty-state-premium .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-premium h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.empty-state-premium p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.empty-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gold-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* ── Analytics Page ──────────────────────────────────────── */
.analytics-chart {
    margin-top: 1rem;
}

.chart-container {
    width: 100%;
    overflow-x: auto;
}

.popular-pages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

.page-name {
    font-weight: 500;
    font-size: 0.85rem;
    word-break: break-word;
}

.page-visits {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ── Settings Page ───────────────────────────────────────── */
.header-with-back {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.back-button {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Loading Spinner ─────────────────────────────────────── */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Responsive Breakpoints ──────────────────────────────── */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .reviews-controls-premium {
        flex-direction: column;
        align-items: stretch;
    }
    
    .controls-right {
        justify-content: center;
    }
    
    .pm-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    /* Subnav tabs */
    .mxa-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .mxa-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .stat-card {
        padding: 0.75rem 1rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    /* Quick actions */
    .quick-action-card {
        padding: 0.75rem 1rem;
    }
    
    /* Product grid */
    .pm-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 0.875rem;
    }
    
    .pm-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pm-toolbar-left,
    .pm-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .pm-search {
        width: 100%;
        flex: 1;
    }
    
    .pm-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    /* Two column form */
    .pm-two-col {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Reviews */
    .reviews-hero-header {
        padding: 1.5rem 1rem;
    }
    
    .reviews-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-header-premium {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-status-badge {
        align-self: flex-start;
    }
    
    .review-actions-premium {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons,
    .quick-actions {
        justify-content: center;
    }
    
    .search-input {
        width: 100%;
    }
    
    .filter-tabs-premium {
        justify-content: center;
    }
    
    /* QR Cards */
    .qr-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Back button */
    .back-btn {
        margin-bottom: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.6rem 0.75rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Action cards */
    .quick-action-card .qac-icon {
        font-size: 1.2rem;
    }
    
    .quick-action-card .qac-title {
        font-size: 0.8rem;
    }
    
    .quick-action-card .qac-desc {
        font-size: 0.7rem;
    }
    
    /* Product cards */
    .pm-card-img {
        height: 150px;
    }
    
    .pm-card-name {
        font-size: 0.9rem;
    }
    
    .pm-card-price {
        font-size: 1rem;
    }
    
    .pm-card-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pm-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pm-stat-val {
        font-size: 1.3rem;
    }
    
    /* Reviews */
    .reviews-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card-premium {
        padding: 1rem;
    }
    
    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.85rem;
    }
    
    .action-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .filter-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Modal */
    .pm-modal {
        max-width: 95%;
    }
    
    .pm-modal-header {
        padding: 1rem;
    }
    
    .pm-modal-body {
        padding: 1rem;
    }
    
    /* QR */
    #qrPreview_public,
    #qrPreview_reviews {
        width: 150px;
        height: 150px;
    }
    
    #qrPreview_public img,
    #qrPreview_reviews img {
        width: 130px;
        height: 130px;
    }
    
    /* Header with back */
    .header-with-back {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .back-button {
        align-self: flex-start;
    }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .pm-modal {
        max-height: 85vh;
    }
    
    .review-card-premium {
        padding: 0.75rem;
    }
    
    .avatar-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .mxa-tabs,
    .back-btn,
    .pm-toolbar,
    .review-actions-premium,
    .load-more-section {
        display: none !important;
    }
    
    .content-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* Animation for fade in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card-premium,
.pm-card {
    animation: fadeInUp 0.4s ease-out;
}
/* ============================================
   BUSINESS MANAGEMENT - COMPLETE FIX
   This fixes the unstable subnav tabs and layout
   ============================================ */

/* ── Business Management Container ───────────────────────── */
.business-management-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ── MAIN SUBNAV TABS (Overview, Products, Reviews, etc.) ── */
.biz-subnav-wrapper {
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg, 12px);
    padding: 0.5rem;
    border: 1px solid var(--border-light);
}

.biz-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius, 8px);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.biz-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.biz-breadcrumb a:hover {
    color: var(--gold-primary);
}

.biz-breadcrumb-sep {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.biz-breadcrumb-current {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Back Button */
.biz-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.biz-back-btn:hover {
    background: var(--bg-hover);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateX(-3px);
}

/* THE FIXED SUBNAV TABS - This is what you need */
.biz-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius, 8px);
    padding: 0.25rem;
}

.biz-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--border-radius, 8px);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.biz-tab:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--text-primary);
}

.biz-tab.active {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.biz-tab-icon {
    font-size: 1rem;
}

/* Stats Grid - Fixed and Stable */
.biz-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.biz-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.biz-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.biz-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.biz-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.biz-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.biz-stat-trend {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Action Cards Grid */
.biz-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.biz-action-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.biz-action-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.03);
}

.biz-action-card.primary {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--border-medium);
}

.biz-action-icon {
    font-size: 1.5rem;
}

.biz-action-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.biz-action-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Recent Reviews Section */
.biz-recent-reviews {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
}

.biz-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.biz-recent-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.biz-recent-header p {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.biz-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.biz-review-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.2s;
}

.biz-review-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.biz-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.biz-review-content {
    flex: 1;
    min-width: 0;
}

.biz-review-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.biz-review-rating {
    font-size: 0.7rem;
    color: var(--gold-primary);
    margin-left: 0.5rem;
}

.biz-review-status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.biz-review-status.approved {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.biz-review-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.biz-review-status.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.biz-review-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.biz-review-date {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Empty State */
.biz-empty-state {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px dashed var(--border-light);
}

.biz-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.biz-empty-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.biz-empty-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* QR Cards Grid */
.biz-qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.biz-qr-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}

.biz-qr-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.biz-qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.biz-qr-icon {
    font-size: 1.5rem;
}

.biz-qr-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.biz-qr-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--gold-dim);
    color: var(--gold-primary);
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.biz-qr-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.biz-qr-preview {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
}

.biz-qr-preview img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
}

.biz-qr-url {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 0.5rem;
}

.biz-qr-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.biz-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.biz-usage-item {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    text-align: center;
}

/* Section Header with Back Button */
.biz-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.biz-section-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.biz-section-header p {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────── */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .biz-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .biz-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large (600px - 768px) */
@media (max-width: 768px) {
    .biz-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.25rem;
    }
    
    .biz-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .biz-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .biz-stat-card {
        padding: 0.875rem;
    }
    
    .biz-stat-value {
        font-size: 1.4rem;
    }
    
    .biz-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .biz-recent-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .biz-qr-grid {
        grid-template-columns: 1fr;
    }
    
    .biz-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .biz-breadcrumb {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    .biz-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .biz-stat-card {
        padding: 0.7rem;
    }
    
    .biz-stat-icon {
        font-size: 1.3rem;
    }
    
    .biz-stat-value {
        font-size: 1.2rem;
    }
    
    .biz-stat-label {
        font-size: 0.7rem;
    }
    
    .biz-action-card {
        padding: 0.875rem;
    }
    
    .biz-review-item {
        flex-wrap: wrap;
    }
    
    .biz-review-text {
        white-space: normal;
        overflow: visible;
    }
    
    .biz-qr-preview {
        width: 140px;
        height: 140px;
    }
    
    .biz-qr-preview img {
        width: 120px;
        height: 120px;
    }
}

/* Landscape mode fix */
@media (max-height: 500px) and (orientation: landscape) {
    .biz-tabs {
        flex-wrap: wrap;
    }
}
/* Skeleton Loader Styles for Async Images */
.img-skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-glass) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.logo-skeleton, .background-skeleton {
    transition: all 0.2s ease;
}

.logo-preview, .background-preview {
    transition: opacity 0.3s ease;
}