/**
 * TISA SMS - Complete Stylesheet (FINAL VERSION)
 * File: /opt/bitnami/apache/htdocs/includes/stylesheet.css
 * 
 * This is the complete stylesheet for the entire TISA SMS project.
 * All pages should include Bootstrap 5 CSS first, then this stylesheet.
 */

/* ========================================
   1. CSS VARIABLES & ROOT CONFIGURATION
   ======================================== */
:root {
    /* TISA Brand Colors - Matching Logo Purple Theme (Default) */
    --primary-color: #6b1f7b;
    --primary-rgb: 107, 31, 123;
    --primary-dark: #4a1055;
    --primary-light: #8e3a9d;
    --secondary-color: #e91e8c;
    --secondary-dark: #d01b7c;
    --secondary-light: #ff4da6;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-bg: #d1fae5;
    --success-border: #86efac;
    --error-color: #ef4444;
    --error-bg: #fee2e2;
    --error-border: #fca5a5;
    --warning-color: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-border: #fcd34d;
    --info-color: #3b82f6;
    --info-bg: #dbeafe;
    --info-border: #93c5fd;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    
    /* Gradients - More Prominent & Visible */
    --primary-gradient: linear-gradient(135deg, #6b1f7b 0%, #8b2ba8 50%, #4a1055 100%);
    
    /* Sidebar Theme Variables */
    --sidebar-gradient: linear-gradient(180deg, #1a1d29 0%, #2c3e50 50%, #34495e 100%);
    --sidebar-text: white;
    --sidebar-accent: #3498db;
    --secondary-gradient: linear-gradient(45deg, #6b1f7b 0%, #e91e8c 100%);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
/* Shadows - Enhanced with purple tint */
    --shadow-sm: 0 1px 3px 0 rgba(107, 31, 123, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(107, 31, 123, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(107, 31, 123, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(107, 31, 123, 0.25);
    --shadow-2xl: 0 25px 50px -12px rgba(107, 31, 123, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    
    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-collapsed: 80px;
}

/* ========================================
   2. GLOBAL RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
}

/* ========================================
   3. AUTHENTICATION PAGES (LOGIN/REGISTER/FORGOT)
   ======================================== */
.login-page,
.register-page,
.forgot-page,
.verify-page {
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-wrapper,
.register-wrapper,
.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.login-card,
.register-card,
.auth-card {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 40px;
}

/* Logo Image Styles */
.logo-img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sidebar-logo img {
    width: var(--logo-size, 50%) !important;
    height: auto !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain;
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 0 25px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.6), 0 0 50px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.3), 0 0 75px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.1) !important;
}

/* Logo link styling */
.sidebar-logo .logo-link {
    display: inline-block;
    text-decoration: none;
}

.sidebar-logo .logo-link:hover {
    text-decoration: none;
}

/* Dynamic Logo Shape Classes */
.sidebar-logo img.logo-shape-square {
    border-radius: 8px !important;
}

.sidebar-logo img.logo-shape-round {
    border-radius: 50% !important;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.sidebar-logo img.logo-shape-oval {
    border-radius: 50% !important;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.sidebar-logo img.logo-shape-rectangular {
    border-radius: 4px !important;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Logo Animation Classes */
.logo-animation-bounce {
    animation: logo-bounce 2s infinite;
}

.logo-animation-pulse {
    animation: logo-pulse 2s infinite;
}

.logo-animation-spin {
    animation: logo-spin 3s linear infinite;
}

.logo-animation-swing {
    animation: logo-swing 2s ease-in-out infinite;
    transform-origin: top center;
}

.logo-animation-shake {
    animation: logo-shake 1s infinite;
}

.logo-animation-glow {
    animation: logo-glow 2s ease-in-out infinite alternate;
}

.logo-animation-float {
    animation: logo-float 3s ease-in-out infinite;
}

/* Once-Only Animation Classes (triggered on page load only) */
.logo-animation-bounce-once {
    animation: logo-bounce-once 1.5s ease-out;
}

.logo-animation-pulse-once {
    animation: logo-pulse-once 1.2s ease-out;
}

.logo-animation-spin-once {
    animation: logo-spin-once 1.5s ease-out;
}

.logo-animation-swing-once {
    animation: logo-swing-once 2s ease-out;
    transform-origin: top center;
}

.logo-animation-shake-once {
    animation: logo-shake-once 1s ease-out;
}

.logo-animation-glow-once {
    animation: logo-glow-once 2s ease-out;
}

.logo-animation-float-once {
    animation: logo-float-once 2.5s ease-out;
}

/* Animation Keyframes */
@keyframes logo-bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

@keyframes logo-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logo-swing {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

@keyframes logo-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes logo-glow {
    from {
        box-shadow: 0 0 25px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.6), 0 0 50px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.3), 0 0 75px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.1);
    }
    to {
        box-shadow: 0 0 40px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.9), 
                    0 0 80px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.7),
                    0 0 120px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.4),
                    0 0 160px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.2);
    }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Once-Only Animation Keyframes */
@keyframes logo-bounce-once {
    0% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-8px); }
    85% { transform: translateY(0); }
    95% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

@keyframes logo-pulse-once {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    60% { transform: scale(1); }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes logo-spin-once {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logo-swing-once {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

@keyframes logo-shake-once {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-3px); }
    20%, 60% { transform: translateX(3px); }
    30%, 70% { transform: translateX(-2px); }
    40%, 80% { transform: translateX(2px); }
}

@keyframes logo-glow-once {
    0% {
        box-shadow: 0 0 5px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.9), 
                    0 0 80px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.7),
                    0 0 120px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(var(--secondary-color-rgb, 102, 51, 153), 0.3);
    }
}

@keyframes logo-float-once {
    0% { transform: translateY(0px); }
    30% { transform: translateY(-12px); }
    60% { transform: translateY(0px); }
    80% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* Responsive logo sizing for mobile */
@media (max-width: 768px) {
    .sidebar-logo {
        padding: 15px 10px;
    }
    
    .sidebar-logo img {
        max-height: 45px;
    }
}

/* Logo Box - Removed since using actual image now */
.logo-box {
    display: none;
}

/* Auth Titles */
.login-title,
.register-title,
.auth-title {
    color: var(--gray-900);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Registration Steps */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.step.active {
    background: var(--primary-color);
    color: white;
}

.step.completed {
    background: var(--success-color);
    color: white;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 50px;
    width: 60px;
    height: 2px;
    background: var(--gray-200);
}

.step.completed .step-line {
    background: var(--success-color);
}

/* Success/Completion Pages */
.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon i {
    font-size: 50px;
    color: var(--success-color);
}

/* ========================================
   4. DASHBOARD LAYOUT
   ======================================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Main Content Area */
.main-content {
    min-height: 100vh;
    background: var(--gray-50);
}

/* Content Header */
.content-header {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
}

.content-title i {
    margin-right: 12px;
    color: var(--primary-color);
}

.content-actions {
    display: flex;
    gap: 10px;
}

/* Content Body */
.content-body {
    padding: 30px;
}

/* Dashboard Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.primary {
    background: rgba(124, 30, 142, 0.1);
    color: var(--primary-color);
}

.stat-icon.success {
    background: var(--success-bg);
    color: var(--success-color);
}

.stat-icon.warning {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.stat-icon.info {
    background: var(--info-bg);
    color: var(--info-color);
}

.stat-details h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.stat-details p {
    color: var(--gray-500);
    margin: 0;
    font-size: 14px;
}

/* ========================================
   5. FORMS & INPUTS
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label.required::after {
    content: ' *';
    color: var(--error-color);
}

.form-control {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.2s;
    background: white;
}

.form-control:focus {
    border: 2px solid transparent !important;
    background-image: linear-gradient(white, white), var(--primary-gradient) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control.is-invalid {
    border-color: var(--error-color);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-select {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 30, 142, 0.1);
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    color: var(--gray-700);
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--gray-500);
}

.invalid-feedback {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--error-color);
}

/* OTP Input Fields */
.otp-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
}

.otp-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 30, 142, 0.1);
    outline: none;
}

/* Search Box */
.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
}



/* Standard Bootstrap nav tabs with proper contrast */
.nav-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    border-bottom: 2px solid white !important;
}

.nav-tabs .nav-link {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.nav-tabs .nav-link:hover {
    background: var(--primary-light) !important;
    color: white !important;
}

/* FAQ Page Styling */
.faq-category h4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
}

.faq-category h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.faq-category h4 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Universal Page Heading Styles */
h1, .h1, h2.h2, h1.h2, h1.h3 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 i, .h1 i, h2.h2 i, h1.h2 i, h1.h3 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-header, .page-header-standard {
    padding: 2rem 0;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(248,249,250,1));
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
}

.content-subtitle, .page-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Purchase Credits Page Styling */
.page-header-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.page-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2rem;
}

.page-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    color: #6c757d;
    font-size: 1.1rem;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.balance-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.credits-number {
    font-size: 2rem;
}

.credits-label {
    font-size: 1rem;
    opacity: 0.95;
}

.balance-info {
    font-size: 0.85rem;
    opacity: 0.85;
}

.credit-package {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.credit-package:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.package-popular {
    border-color: var(--primary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.package-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.package-credits {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
}

.package-label {
    color: #6c757d;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-per-sms {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.price-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
}

.price-unit {
    color: #6c757d;
    font-size: 0.9rem;
}

.price-breakdown {
    font-size: 0.9rem;
}

.price-total {
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

.total-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-savings .badge {
    padding: 8px 12px;
    font-weight: 500;
}



/* ========================================
   7. CARDS & PANELS
   ======================================== */
.card {
    background: white;
    border-radius: 12px !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.card-header {
    padding: 20px;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0.95));
    color: var(--primary-color);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: var(--primary-color) !important;
    margin: 0;
    position: relative;
}

.card-header h1::after,
.card-header h2::after,
.card-header h3::after,
.card-header h4::after,
.card-header h5::after,
.card-header h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

/* ========================================
   8. TABLES
   ======================================== */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px !important;
    overflow: hidden;
}

.table thead th {
    background: transparent;
    color: var(--primary-color) !important;
    font-weight: 700;
    padding: 12px;
    border: none;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.table thead {
    border-bottom: 3px solid transparent;
    background-image: var(--primary-gradient);
    background-origin: border-box;
    background-clip: border-box;
}

/* Override Bootstrap table-light class */
.table-light, .table-light > th, .table-light > td {
    background-color: transparent !important;
}

thead.table-light th {
    background: transparent !important;
    color: var(--primary-color) !important;
}

.table-bordered {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* ========================================
   GRADIENT LINES & BORDERS
   ======================================== */
/* Horizontal Rules */
hr {
    height: 1px;
    border: none;
    background: var(--primary-gradient);
    margin: 2rem 0;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.8), 0 1px 4px rgba(var(--primary-rgb), 0.6);
    filter: drop-shadow(0 0 3px rgba(var(--primary-rgb), 0.7));
    position: relative;
}

hr::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 5px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    filter: blur(2px);
}

/* Divider Lines */
.divider {
    height: 1px;
    background: var(--primary-gradient);
    margin: 1.5rem 0;
    border-radius: 0.5px;
    box-shadow: 0 0 6px rgba(var(--primary-rgb), 0.8), 0 1px 3px rgba(var(--primary-rgb), 0.6);
    filter: drop-shadow(0 0 2px rgba(var(--primary-rgb), 0.7));
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
    filter: blur(1px);
}

.divider-thin {
    height: 1px;
    background: var(--primary-gradient);
    margin: 1rem 0;
    box-shadow: 0 0 2px rgba(var(--primary-rgb), 0.5);
}

/* Section Borders - Thinner Lines */
.section-border-top {
    border-top: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-top: 1.5rem;
    filter: drop-shadow(0 1px 3px rgba(var(--primary-rgb), 0.6));
    position: relative;
}

.section-border-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    box-shadow: 0 0 4px rgba(var(--primary-rgb), 0.7);
}

.section-border-bottom {
    border-bottom: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-bottom: 1.5rem;
    filter: drop-shadow(0 -1px 3px rgba(var(--primary-rgb), 0.6));
    position: relative;
}

.section-border-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    box-shadow: 0 0 4px rgba(var(--primary-rgb), 0.7);
}

.section-border-left {
    border-left: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-left: 1rem;
    filter: drop-shadow(1px 0 3px rgba(var(--primary-rgb), 0.6));
}

.section-border-right {
    border-right: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-right: 1rem;
    filter: drop-shadow(-1px 0 3px rgba(var(--primary-rgb), 0.6));
}

/* List Item Borders */
.list-group-item {
    border-left: 2px solid transparent;
    border-image: var(--primary-gradient) 1;
    transition: all 0.3s ease;
    filter: drop-shadow(1px 0 1px rgba(var(--primary-rgb), 0.25));
}

.list-group-item:hover {
    border-left: 2px solid transparent;
    border-image: var(--primary-gradient) 1;
    background: rgba(var(--primary-rgb), 0.05);
    filter: drop-shadow(2px 0 3px rgba(var(--primary-rgb), 0.4));
}

/* Modal and Dialog Borders */
.modal-content {
    border: 2px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.2));
}

.modal-header {
    border-bottom: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(0 1px 1px rgba(var(--primary-rgb), 0.3));
}

.modal-footer {
    border-top: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(0 -1px 1px rgba(var(--primary-rgb), 0.3));
}

/* Alert Borders */
.alert {
    border-left: 2px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(1px 0 2px rgba(var(--primary-rgb), 0.4));
}

/* Progress Bar Container */
.progress {
    border: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    background: rgba(var(--primary-rgb), 0.1);
    filter: drop-shadow(0 1px 2px rgba(var(--primary-rgb), 0.3));
}

.progress-bar {
    background: var(--primary-gradient);
    box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.4);
}

/* Breadcrumb and Navigation Lines */
.breadcrumb {
    border-bottom: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 1px 1px rgba(var(--primary-rgb), 0.35));
}

.nav-tabs {
    border-bottom: 2px solid var(--primary-color);
}

.nav-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-bottom: 2px solid white !important;
}

/* Dropdown and Menu Lines */
.dropdown-divider {
    height: 1px;
    background: var(--primary-gradient);
    margin: 0.5rem 0;
    box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.4);
}

.dropdown-menu {
    border: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.2));
}

/* Accordion and Collapse Lines */
.accordion-item {
    border: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 1px 3px rgba(var(--primary-rgb), 0.25));
}

.accordion-header {
    border-bottom: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    filter: drop-shadow(0 1px 1px rgba(var(--primary-rgb), 0.3));
}

/* Timeline and Step Lines */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gradient);
    box-shadow: 1px 0 3px rgba(var(--primary-rgb), 0.4);
}

.steps {
    border-top: 2px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-top: 2rem;
    filter: drop-shadow(0 1px 2px rgba(var(--primary-rgb), 0.35));
}

/* Form Section Lines */
.form-section {
    border-top: 1px solid transparent;
    border-image: var(--primary-gradient) 1;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    filter: drop-shadow(0 1px 1px rgba(var(--primary-rgb), 0.4));
}

/* Sidebar and Panel Lines */
.sidebar-divider {
    height: 1px;
    background: var(--primary-gradient);
    margin: 1rem 0;
    opacity: 0.8;
    box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.5);
}
.table-wrapper {
    background: white;
    border-radius: 12px !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table {
    width: 100%;
}

.table thead {
    background: white;
    border-bottom: 2px solid var(--primary-color);
}

.table thead th {
    color: var(--primary-color) !important;
    border-color: var(--gray-200) !important;
    font-weight: 600;
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Page title styling - theme compatible */
.page-title {
    color: var(--primary-color) !important;
}

/* Legacy theme class support */
.tisa-purple-text {
    color: var(--primary-color) !important;
}

/* Stat cards with theme colors */
.stat-card {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.stat-card .card-title {
    color: var(--primary-color) !important;
}

/* Button theme styling */


.table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--gray-200);
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Actions */
.table-actions {
    display: flex;
    gap: 5px;
}


/* ========================================
   9. BADGES & LABELS
   ======================================== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active,
.badge-success {
    background: var(--success-bg);
    color: var(--success-color);
}

.badge-inactive,
.badge-danger {
    background: var(--error-bg);
    color: var(--error-color);
}

.badge-pending,
.badge-warning {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.badge-info {
    background: var(--info-bg);
    color: var(--info-color);
}

.badge-primary {
    background: rgba(124, 30, 142, 0.1);
    color: var(--primary-color);
}

.badge-free {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success-border);
}

/* Sender ID Status Styles */
.status-pending {
    background: var(--warning-bg);
    color: var(--warning-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-approved {
    background: var(--success-bg);
    color: var(--success-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: var(--success-bg);
    color: var(--success-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-expired {
    background: var(--warning-bg);
    color: var(--warning-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-rejected {
    background: var(--error-bg);
    color: var(--error-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   10. ALERTS & NOTIFICATIONS
   ======================================== */
.alert {
    padding: 12px 45px 12px 16px; /* Extra right padding for close button */
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start; /* Align to top to prevent close button overlap */
    gap: 10px;
    position: relative; /* For proper close button positioning */
}

/* Bootstrap Alert Close Button Fix */
.alert .btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px;
    margin: 0;
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: #065f46;
}

.alert-error,
.alert-danger {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: #991b1b;
}

.alert-warning {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    color: #92400e;
}

.alert-info {
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    color: #1e40af;
}

/* ========================================
   11. MODALS - DISABLED TO AVOID BOOTSTRAP CONFLICTS
   ======================================== */
/* 
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
*/

/* ========================================
   12. TABS
   ======================================== */
.tabs {
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.tab-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-link {
    padding: 12px 0;
    color: var(--gray-500);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.tab-link:hover {
    color: var(--gray-700);
}

.tab-link.active {
    color: var(--primary-color);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* ========================================
   13. PAGINATION
   ======================================== */
.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.pagination-link {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-link:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.pagination-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-link.disabled {
    color: var(--gray-400);
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   14. FILTERS & CONTROLS
   ======================================== */
.filter-bar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   14. UK NUMBER PLATE STYLE INPUT
   ======================================== */

/* Import fonts for authentic UK number plates */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* Charles Wright 2001 font definition (if available locally) */
@font-face {
    font-family: 'Charles Wright 2001';
    src: url('fonts/CharlesWright2001.woff2') format('woff2'),
         url('fonts/CharlesWright2001.woff') format('woff'),
         url('fonts/CharlesWright2001.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.uk-numberplate-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Mobile SMS Input Container */
.mobile-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.uk-numberplate {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    color: #000000 !important;
    font-family: 'Charles Wright 2001', 'Orbitron', 'Arial Black', 'Impact', monospace !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    letter-spacing: 4px !important;
    padding: 18px 50px 18px 20px !important;
    text-transform: uppercase !important;
    font-stretch: condensed !important;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.4),
        2px 2px 0px rgba(0,0,0,0.3),
        0px 0px 4px rgba(0,0,0,0.2) !important;
    box-shadow: 
        inset 0 3px 6px rgba(0,0,0,0.15),
        inset 0 -3px 6px rgba(255, 215, 0, 0.4),
        0 5px 10px rgba(0,0,0,0.25),
        0 0 25px rgba(255, 215, 0, 0.4) !important;
}

.uk-numberplate:focus {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.1),
        inset 0 -2px 4px rgba(255, 215, 0, 0.4),
        0 4px 12px rgba(107, 31, 123, 0.3),
        0 0 25px rgba(255, 215, 0, 0.6),
        0 0 0 3px rgba(107, 31, 123, 0.1) !important;
    outline: none !important;
}

.uk-numberplate::placeholder {
    color: rgba(0,0,0,0.5) !important;
    font-weight: 900 !important;
    font-family: 'Charles Wright 2001', 'Orbitron', 'Arial Black', 'Impact', monospace !important;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.3) !important;
    letter-spacing: 4px !important;
    font-stretch: condensed !important;
}

.uk-numberplate-badge {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #003F7F;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    border: 1px solid #000;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
}

/* EU-style stars decoration (optional) */
.uk-numberplate-badge::before {
    content: "★";
    color: #FFDE00;
    margin-right: 3px;
    font-size: 0.6rem;
}

/* Mobile Sender Input Style */
.mobile-sender-input {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    color: #495057 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    padding: 20px 60px 20px 25px !important;
    text-transform: uppercase !important;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.8),
        0 0 0 3px var(--primary-color),
        0 0 0 6px #FFD700,
        0 4px 12px rgba(107, 31, 123, 0.2),
        0 0 25px rgba(255, 215, 0, 0.3) !important;
}

.mobile-sender-input:focus {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.8),
        0 0 0 3px var(--primary-color),
        0 0 0 6px #FFD700,
        0 6px 16px rgba(107, 31, 123, 0.3),
        0 0 35px rgba(255, 215, 0, 0.4),
        0 0 45px rgba(107, 31, 123, 0.1) !important;
    outline: none !important;
}

.mobile-sender-input::placeholder {
    color: rgba(73, 80, 87, 0.6) !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    letter-spacing: 1px !important;
}

.mobile-input-badge {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.8;
    line-height: 1;
}

/* Mini UK Number Plate for approved sender IDs */
.uk-numberplate-mini {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    border: 2px solid #000000 !important;
    border-radius: 6px !important;
    color: #000000 !important;
    font-family: 'Charles Wright 2001', 'Orbitron', 'Arial Black', 'Impact', monospace !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    letter-spacing: 2px !important;
    padding: 8px 12px !important;
    text-transform: uppercase !important;
    font-stretch: condensed !important;
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.4),
        0px 0px 2px rgba(0,0,0,0.2) !important;
    box-shadow: 
        inset 0 2px 3px rgba(0,0,0,0.15),
        inset 0 -2px 3px rgba(255, 215, 0, 0.4),
        0 2px 4px rgba(0,0,0,0.25),
        0 0 10px rgba(255, 215, 0, 0.3) !important;
    min-width: 80px;
    white-space: nowrap;
}

/* Hover effect for mini plates */
.uk-numberplate-mini:hover {
    box-shadow: 
        inset 0 2px 3px rgba(0,0,0,0.15),
        inset 0 -2px 3px rgba(255, 215, 0, 0.4),
        0 2px 6px rgba(0,0,0,0.3),
        0 0 15px rgba(255, 215, 0, 0.5) !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Mobile Phone SMS Sender ID Style */
.mobile-sender-id {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    border-radius: 18px;
    color: #495057;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    text-transform: none;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 0 0 2px var(--primary-color),
        0 0 0 4px #FFD700,
        0 2px 8px rgba(107, 31, 123, 0.2),
        0 0 20px rgba(255, 215, 0, 0.3);
    min-width: 60px;
    white-space: nowrap;
    position: relative;
}

/* iPhone-style sender ID with contact badge */
.mobile-sender-id::before {
    content: "📱";
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.75rem;
    opacity: 0.8;
    line-height: 1;
}

/* Android material design variant */
.mobile-sender-id.android {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #1976d2;
    font-weight: 500;
    padding: 4px 8px;
    font-size: 0.8125rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Hover effect for mobile sender ID */
.mobile-sender-id:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 0 0 2px var(--primary-color),
        0 0 0 4px #FFD700,
        0 4px 12px rgba(107, 31, 123, 0.3),
        0 0 25px rgba(255, 215, 0, 0.4),
        0 0 35px rgba(107, 31, 123, 0.1);
    transform: translateY(-1px);
    transition: all 0.15s ease;
}

/* ========================================
   15. SENDER ID CARDS
   ======================================== */
.sender-id-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    transition: all 0.2s;
}

.sender-id-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Sender ID card headers with theme-colored underlines */
.sender-id-card h5,
.sender-id-card h6 {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 16px !important;
}

.sender-id-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.sender-id-status {
    position: absolute;
    top: 20px;
    right: 20px;
}

.sender-id-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.sender-id-detail {
    display: flex;
    flex-direction: column;
}

.sender-id-detail-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
}

.sender-id-detail-value {
    font-weight: 600;
    color: var(--gray-800);
}

/* ========================================
   16. TEMPLATE CARDS
   ======================================== */
.template-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.template-card:hover {
    box-shadow: var(--shadow-md);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.template-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.template-category {
    padding: 4px 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    font-size: 12px;
    text-transform: uppercase;
}

.template-content {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.template-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   17. ADMIN PANEL SPECIFIC
   ======================================== */
.admin-header {
    background: var(--gray-900);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-title {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-badge {
    background: var(--warning-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    text-transform: uppercase;
}

/* ========================================
   18. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Toggle Button */
.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1060;
    background: var(--primary-gradient);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

/* Hide toggle button on desktop */
@media (min-width: 992px) {
    .sidebar-toggle {
        display: none;
    }
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.sidebar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.4);
    color: white;
}

/* Mobile Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    /* Sidebar Mobile */
    .sidebar {
        transform: translateX(-100%);
        z-index: 1050;
        width: 280px; /* Slightly wider on mobile for better touch targets */
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    /* Mobile sidebar header - keep it compact */
    .sidebar-header {
        padding: 15px 20px;
        max-height: 90px;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-logo {
        padding: 10px 15px;
    }
    
    .sidebar-logo img {
        max-height: 50px;
        max-width: 80px;
    }
    
    /* Enhanced mobile navigation scrolling */
    .sidebar-nav {
        padding: 15px 0;
        /* Ensure enough bottom padding so last items aren't hidden */
        padding-bottom: 20px;
        /* Enable momentum scrolling on iOS */
        -webkit-overflow-scrolling: touch;
        /* Use flex-grow to take available space */
        flex: 1;
        overflow-y: auto;
        /* Remove restrictive max-height - let it use available space dynamically */
        height: calc(100vh - 180px); /* Account for header (~90px) and user section (~90px) */
        /* Remove min-height restriction that was causing issues */
    }
    
    /* Scroll indicator for mobile - shows when there's more content */
    .sidebar-nav::after {
        content: '';
        position: sticky;
        bottom: 0;
        height: 20px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
        pointer-events: none;
        margin: 0 -20px;
    }
    
    /* Subtle bounce animation to indicate scrollable content */
    @keyframes subtle-bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-3px);
        }
        60% {
            transform: translateY(-2px);
        }
    }
    
    /* Mobile navigation items with better touch targets */
    .sidebar-nav-item {
        padding: 15px 20px;
        font-size: 16px;
        min-height: 50px;
        /* Ensure visibility and prevent shrinking */
        display: flex !important;
        flex-shrink: 0;
        align-items: center !important;
        /* Debug: Add border to see all items */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .sidebar-nav-item i {
        font-size: 20px;
        margin-right: 15px;
        width: 24px;
    }
    
    /* User section adjustments for mobile */
    .sidebar-user {
        padding: 10px 20px;
        background: rgba(0, 0, 0, 0.2);
        /* Ensure it doesn't take too much space */
        max-height: 90px;
        min-height: 70px;
        flex-shrink: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-user-info {
        margin-bottom: 8px;
    }
    
    .sidebar-user-avatar {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .sidebar-user-name {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .sidebar-user-role {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .sidebar-logout {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    /* Adjust page header for mobile toggle button */
    .page-header-standard {
        padding-left: 80px;
    }
    
    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Filter Bar Mobile */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    /* Content Header Mobile */
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .content-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    /* Table Mobile */
    .table-wrapper {
        overflow-x: auto;
    }
    
    /* Cards Mobile */
    .login-card,
    .register-card,
    .auth-card {
        padding: 30px 20px;
    }
    
    .login-title,
    .register-title,
    .auth-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    /* Auth Pages Mobile */
    .login-wrapper,
    .register-wrapper,
    .auth-wrapper {
        padding: 0 15px;
    }
    
    .login-card,
    .register-card,
    .auth-card {
        border-radius: var(--radius-xl);
        padding: 25px 20px;
    }
    
    .logo-box {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    
    /* OTP Input Mobile */
    .otp-input input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Modal Mobile */
    .modal {
        width: 95%;
        margin: 10px;
    }
}

/* ========================================
   19. UTILITY CLASSES
   ======================================== */
/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Flexbox */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.gap-1 { gap: 5px !important; }
.gap-2 { gap: 10px !important; }
.gap-3 { gap: 15px !important; }
.gap-4 { gap: 20px !important; }

/* Width & Height */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Text Alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Text Styling */
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--error-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--gray-500) !important; }
.text-white { color: white !important; }

/* Margins */
.m-0 { margin: 0 !important; }
.m-1 { margin: 5px !important; }
.m-2 { margin: 10px !important; }
.m-3 { margin: 15px !important; }
.m-4 { margin: 20px !important; }
.m-5 { margin: 30px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 5px !important; }
.mt-2 { margin-top: 10px !important; }
.mt-3 { margin-top: 15px !important; }
.mt-4 { margin-top: 20px !important; }
.mt-5 { margin-top: 30px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 5px !important; }
.mb-2 { margin-bottom: 10px !important; }
.mb-3 { margin-bottom: 15px !important; }
.mb-4 { margin-bottom: 20px !important; }
.mb-5 { margin-bottom: 30px !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 5px !important; }
.ms-2 { margin-left: 10px !important; }
.ms-3 { margin-left: 15px !important; }
.ms-4 { margin-left: 20px !important; }
.ms-5 { margin-left: 30px !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 5px !important; }
.me-2 { margin-right: 10px !important; }
.me-3 { margin-right: 15px !important; }
.me-4 { margin-right: 20px !important; }
.me-5 { margin-right: 30px !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* Padding */
.p-0 { padding: 0 !important; }
.p-1 { padding: 5px !important; }
.p-2 { padding: 10px !important; }
.p-3 { padding: 15px !important; }
.p-4 { padding: 20px !important; }
.p-5 { padding: 30px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 5px !important; }
.pt-2 { padding-top: 10px !important; }
.pt-3 { padding-top: 15px !important; }
.pt-4 { padding-top: 20px !important; }
.pt-5 { padding-top: 30px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 5px !important; }
.pb-2 { padding-bottom: 10px !important; }
.pb-3 { padding-bottom: 15px !important; }
.pb-4 { padding-bottom: 20px !important; }
.pb-5 { padding-bottom: 30px !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 5px !important; }
.ps-2 { padding-left: 10px !important; }
.ps-3 { padding-left: 15px !important; }
.ps-4 { padding-left: 20px !important; }
.ps-5 { padding-left: 30px !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 5px !important; }
.pe-2 { padding-right: 10px !important; }
.pe-3 { padding-right: 15px !important; }
.pe-4 { padding-right: 20px !important; }
.pe-5 { padding-right: 30px !important; }

/* Borders */
.border { border: 1px solid var(--gray-300) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--gray-300) !important; }
.border-bottom { border-bottom: 1px solid var(--gray-300) !important; }
.border-start { border-left: 1px solid var(--gray-300) !important; }
.border-end { border-right: 1px solid var(--gray-300) !important; }

/* Border Radius */
.rounded-0 { border-radius: 0 !important; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-circle { border-radius: 50% !important; }

/* Shadows */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* Position */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Overflow */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

/* Cursor */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }

/* Visibility */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* Opacity */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* Z-index */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

/* Bootstrap Modal Z-index Fix */
.modal { 
    z-index: 1055 !important; 
}
.modal-backdrop { 
    z-index: 1050 !important; 
}
.modal-dialog {
    z-index: 1060 !important;
    position: relative !important;
}
.modal-content {
    background: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ========================================
   20. ANIMATIONS & TRANSITIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Progress Bar */
.progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* ========================================
   21. LOGIN & LOGOUT PAGES
   ======================================== */

/* Fixed Logo */
.logo-fixed {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-fixed:hover {
    opacity: 1;
}

.logo-fixed-img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Login Page Special Logo Animation */
.login-page .logo-fixed {
    /* No animation by default */
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(20px);
    }
}

/* Realistic Ball Bounce Animation - Physics-Based */
.animated-logo {
    /* Animation disabled for professional navigation */
    transform-origin: center center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(107, 31, 123, 0.2));
}

.animated-logo:hover {
    filter: brightness(1.1) drop-shadow(0 6px 15px rgba(107, 31, 123, 0.3));
    cursor: pointer;
}

@keyframes realisticBallBounce {
    /* Starting position - ball at rest */
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* First bounce up - high energy */
    15% {
        transform: translateY(-50px) translateX(15px) scale(1.05, 0.95);
        animation-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
    }
    
    /* First impact - squash */
    25% {
        transform: translateY(8px) translateX(25px) scale(1.15, 0.85);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Second bounce - less energy */
    35% {
        transform: translateY(-35px) translateX(35px) scale(1.03, 0.97);
        animation-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
    }
    
    /* Second impact */
    45% {
        transform: translateY(5px) translateX(20px) scale(1.1, 0.9);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Third bounce - even less energy */
    55% {
        transform: translateY(-20px) translateX(5px) scale(1.02, 0.98);
        animation-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
    }
    
    /* Third impact */
    65% {
        transform: translateY(3px) translateX(-5px) scale(1.08, 0.92);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Small bounce */
    75% {
        transform: translateY(-8px) translateX(-10px) scale(1.01, 0.99);
        animation-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
    }
    
    /* Final settle */
    85% {
        transform: translateY(1px) translateX(-3px) scale(1.03, 0.97);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Rest position */
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}
}

/* Mobile Logo Adjustments - Fixed positioning and size */
@media (max-width: 768px) {
    .logo-fixed {
        top: 15px;
        left: 15px;
        /* Disable floating animation on mobile to prevent skewing */
        animation: none !important;
        transform: none !important;
    }
    
    .logo-fixed-img {
        height: 70px;
        width: 70px;
        object-fit: cover;
        border-radius: 50%;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        /* Ensure proper aspect ratio and prevent stretching */
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }
}

/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(107, 31, 123, 0.1) 0%, rgba(233, 30, 140, 0.1) 100%);
    transition: transform 0.3s ease;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08) 0%, rgba(107, 31, 123, 0.08) 100%);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    background: linear-gradient(135deg, rgba(107, 31, 123, 0.05) 0%, rgba(233, 30, 140, 0.05) 100%);
}

/* Login Page Specific */
.login-page {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(107, 31, 123, 0.3);
}

.login-icon i {
    font-size: 32px;
    color: white;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.login-form .input-group-text {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-500);
}

.login-form .form-control {
    border-color: var(--gray-300);
    font-size: 16px;
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 31, 123, 0.15);
}

.login-btn {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(107, 31, 123, 0.3);
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(107, 31, 123, 0.4);
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-300);
}

.login-divider span {
    padding: 0 20px;
    color: var(--gray-500);
    font-size: 14px;
}

.register-section {
    text-align: center;
    margin-bottom: 30px;
}

.register-text {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.register-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.register-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links span {
    color: var(--gray-400);
}

.copyright {
    color: var(--gray-500);
    font-size: 12px;
    margin: 0;
}

/* Logout Page Specific */
.logout-page {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logout-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.logout-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-header {
    text-align: center;
    margin-bottom: 30px;
}

.logout-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.logout-icon i {
    font-size: 32px;
    color: white;
}

.logout-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.logout-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.user-avatar {
    margin-right: 16px;
}

.user-avatar i {
    font-size: 48px;
    color: var(--gray-400);
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.user-session {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.logout-actions {
    margin-bottom: 30px;
}

.logout-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
}

.cancel-btn {
    border-color: var(--gray-300);
    color: var(--gray-700);
    font-weight: 600;
}

.cancel-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.security-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 30px;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: var(--gray-700);
}

.notice-content i {
    color: var(--info-color);
    margin-top: 2px;
}

.logout-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* Logout Success Styles */
.logout-icon.success {
    background: linear-gradient(135deg, var(--success-color) 0%, #4ade80 100%);
}

.success-message {
    margin: 20px 0;
}

.countdown-section {
    text-align: center;
    margin: 30px 0;
    padding: 25px;
    background: rgba(107, 31, 123, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(107, 31, 123, 0.1);
}

.countdown-text {
    color: var(--gray-600);
    font-size: 16px;
    margin-bottom: 15px;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.countdown-display #countdown {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    text-align: center;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(107, 31, 123, 0.2);
}

.countdown-label {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.login-link {
    margin-top: 20px;
}

.progress {
    height: 8px;
    background-color: rgba(107, 31, 123, 0.1);
    border-radius: 4px;
}

.progress-bar {
    transition: width 1s ease-in-out;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card,
    .logout-card {
        margin: 20px;
        padding: 30px 24px;
    }
    
    /* Logo positioning handled in dedicated mobile media query above */
    
    .login-title,
    .logout-title {
        font-size: 24px;
    }
    
    .login-icon,
    .logout-icon {
        width: 60px;
        height: 60px;
    }
    
    .login-icon i,
    .logout-icon i {
        font-size: 24px;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: -75px;
    }
    
    .shape-3 {
        width: 100px;
        height: 100px;
    }
}

/* ========================================
   22. REGISTRATION PAGE
   ======================================== */

/* Registration Page Layout */
.register-page {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.register-wrapper {
    width: 100%;
    max-width: 600px;
    z-index: 10;
    position: relative;
}

.register-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Registration Header - Not used anymore, using login-header */

.register-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(107, 31, 123, 0.3);
}

.register-icon i {
    font-size: 2rem;
    color: white;
}

.register-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Registration Page Spacing Adjustments */
.register-page .login-header {
    margin-bottom: 15px;
}

.register-page .login-form .form-group {
    margin-bottom: 18px;
}

.register-page .login-form {
    margin-bottom: 20px;
}

.register-page .login-card {
    padding: 32px;
}

/* Simple Step Indicator - Registration Page */
.step-indicator {
    text-align: center;
    margin-bottom: 20px;
    padding: 8px 0;
}

.step-text {
    display: inline-block;
    background: rgba(107, 31, 123, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(107, 31, 123, 0.2);
    backdrop-filter: blur(10px);
}

/* Registration Form */
.register-form,
.otp-form {
    margin-bottom: 30px;
}

.register-form .form-group,
.otp-form .form-group {
    margin-bottom: 20px;
}

.register-form .form-label,
.otp-form .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.register-form .input-group-text,
.otp-form .input-group-text {
    background: rgba(107, 31, 123, 0.1);
    border-color: rgba(107, 31, 123, 0.2);
    color: var(--primary-color);
}

.register-form .form-control,
.otp-form .form-control {
    border-color: rgba(107, 31, 123, 0.2);
    padding: 12px 16px;
}

.register-form .form-control:focus,
.otp-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 31, 123, 0.25);
}

.form-text {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Confirmation Details */
.confirmation-details {
    background: rgba(107, 31, 123, 0.05);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(107, 31, 123, 0.1);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(107, 31, 123, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.detail-value {
    font-weight: 500;
    color: var(--gray-900);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Confirmation Actions */
.confirmation-actions {
    margin-bottom: 30px;
}

/* OTP Form Specific */
.otp-form .form-control {
    letter-spacing: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Resend Section */
.resend-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* Company Details Box */
.company-details-box {
    background: linear-gradient(135deg, rgba(108, 31, 123, 0.05) 0%, rgba(233, 30, 140, 0.05) 100%);
    border: 1px solid rgba(108, 31, 123, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.company-details-box h5 {
    color: var(--primary-gradient-start);
    font-weight: 600;
    margin-bottom: 20px;
}

.company-details-box .detail-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(108, 31, 123, 0.1);
}

.company-details-box .detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.company-details-box .detail-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.company-details-box .detail-value {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

/* Step 6 Authorization Styles */
.confirmation-summary {
    background: linear-gradient(135deg, rgba(108, 31, 123, 0.05) 0%, rgba(233, 30, 140, 0.05) 100%);
    border: 1px solid rgba(108, 31, 123, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.confirmation-summary h5 {
    color: var(--primary-gradient-start);
    font-weight: 600;
    margin-bottom: 20px;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(108, 31, 123, 0.1);
}

.summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-section h6 {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.summary-section .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.summary-section .detail-label {
    font-weight: 500;
    color: #666;
    flex: 0 0 120px;
}

.summary-section .detail-value {
    color: #333;
    font-weight: 400;
    flex: 1;
    text-align: right;
}

.authorization-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
}

.authorization-box .form-check-input {
    margin-top: 0.25rem;
}

.authorization-box .form-check-label {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.authorization-list {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

.authorization-list li {
    margin-bottom: 8px;
    color: #555;
}

.kyc-info .alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Login Verification Page Styles */
.user-info {
    background: linear-gradient(135deg, rgba(108, 31, 123, 0.05) 0%, rgba(233, 30, 140, 0.05) 100%);
    border: 1px solid rgba(108, 31, 123, 0.2);
    border-radius: 8px;
    padding: 15px;
}


.method-text {
    text-align: left;
    flex: 1;
    min-width: 0; /* Prevent text overflow */
}

.method-title {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 1rem;
    line-height: 1.2;
}

.method-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.2;
    word-break: break-all; /* Handle long email addresses */
}

.security-notice .alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

    
    .method-title {
        font-size: 0.9rem;
    }
    
    .method-subtitle {
        font-size: 0.8rem;
    }
    
    /* Ensure user info doesn't overlap */
    .user-info {
        margin-bottom: 1rem;
    }
    
    /* Adjust alert spacing */
    .alert {
        margin-bottom: 1rem;
    }
    
    /* Improve overall spacing on mobile */
    .login-card {
        padding: 20px;
        margin: 10px;
    }
    
    .verification-methods {
        margin-bottom: 1.5rem;
    }
    
    /* Ensure OTP form doesn't overlap */
    #otp-form {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
}

/* Register Button */
.register-btn,
.verify-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.register-btn:hover,
.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 31, 123, 0.3);
}

.register-btn:active,
.verify-btn:active {
    transform: translateY(0);
}

/* Footer */
.register-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.register-footer .footer-links {
    margin-bottom: 10px;
}

.register-footer .footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.register-footer .footer-links a:hover {
    text-decoration: underline;
}

.register-footer .footer-links span {
    color: var(--gray-400);
    margin: 0 8px;
}

.copyright {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Mobile Registration Styles */
@media (max-width: 768px) {
    .register-page .login-card {
        padding: 24px;
        margin: 15px;
    }
    
    .register-page .login-header {
        margin-bottom: 12px;
    }
    
    .step-indicator {
        margin-bottom: 15px;
        padding: 5px 0;
    }
    
    .step-text {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .register-page .login-form .form-group {
        margin-bottom: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-value {
        text-align: left;
        max-width: 100%;
    }
    
    .resend-section .row {
        gap: 10px;
    }
    
    .resend-section .col-6 {
        flex: 1;
    }
}

/* ========================================
   23. THEME VARIATIONS
   ======================================== */

/* Orange Theme */
html[data-theme="orange"] {
    /* Orange Brand Colors */
    --primary-color: #ea580c !important;
    --primary-rgb: 234, 88, 12 !important;
    --primary-dark: #c2410c !important;
    --primary-light: #fb923c !important;
    --secondary-color: #f97316 !important;
    --secondary-dark: #ea580c !important;
    --secondary-light: #fdba74 !important;
    
    /* Orange Gradients */
    --primary-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #c2410c 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #ea580c 0%, #f97316 100%) !important;
    
    /* Orange Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(234, 88, 12, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(234, 88, 12, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(234, 88, 12, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(234, 88, 12, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(234, 88, 12, 0.3) !important;
}

/* Blue Theme */
html[data-theme="blue"] {
    /* Blue Brand Colors */
    --primary-color: #2563eb !important;
    --primary-rgb: 37, 99, 235 !important;
    --primary-dark: #1d4ed8 !important;
    --primary-light: #3b82f6 !important;
    --secondary-color: #0ea5e9 !important;
    --secondary-dark: #0284c7 !important;
    --secondary-light: #38bdf8 !important;
    
    /* Blue Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1d4ed8 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #2563eb 0%, #0ea5e9 100%) !important;
    
    /* Blue Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(37, 99, 235, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(37, 99, 235, 0.3) !important;
}

/* Purple Theme (Default - explicit definition for consistency) */
html[data-theme="purple"] {
    /* Purple Brand Colors */
    --primary-color: #6b1f7b !important;
    --primary-rgb: 107, 31, 123 !important;
    --primary-dark: #4a1055 !important;
    --primary-light: #8e3a9d !important;
    --secondary-color: #e91e8c !important;
    --secondary-dark: #d01b7c !important;
    --secondary-light: #ff4da6 !important;
    
    /* Purple Gradients */
    --primary-gradient: linear-gradient(135deg, #6b1f7b 0%, #8b2ba8 50%, #4a1055 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #6b1f7b 0%, #e91e8c 100%) !important;
    
    /* Purple Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(107, 31, 123, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(107, 31, 123, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(107, 31, 123, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(107, 31, 123, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(107, 31, 123, 0.3) !important;
}

/* Magenta Theme */
html[data-theme="magenta"] {
    /* Magenta Brand Colors */
    --primary-color: #8F00FF !important;
    --primary-rgb: 143, 0, 255 !important;
    --primary-dark: #7300CC !important;
    --primary-light: #A633FF !important;
    --secondary-color: #FF00FF !important;
    --secondary-dark: #E600E6 !important;
    --secondary-light: #FF66FF !important;
    
    /* Magenta Gradients */
    --primary-gradient: linear-gradient(135deg, #8F00FF 0%, #A633FF 50%, #7300CC 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #8F00FF 0%, #FF00FF 100%) !important;
    
    /* Magenta Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(143, 0, 255, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(143, 0, 255, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(143, 0, 255, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(143, 0, 255, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(143, 0, 255, 0.3) !important;
}

/* ================== SEASONAL THEMES ================== */

html[data-theme="spring"] {
    /* Spring Fresh Colors - Sage Green with Coral Accents */
    --primary-color: #527853 !important;
    --primary-rgb: 82, 120, 83 !important;
    --primary-dark: #2d5016 !important;
    --primary-light: #6b8e6b !important;
    --secondary-color: #ff8a7a !important;
    --secondary-dark: #e06b5a !important;
    --secondary-light: #ffa588 !important;
    
    /* Spring Gradients */
    --primary-gradient: linear-gradient(135deg, #527853 0%, #6b8e6b 50%, #2d5016 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #527853 0%, #ff8a7a 100%) !important;
    
    /* Spring Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(82, 120, 83, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(82, 120, 83, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(82, 120, 83, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(82, 120, 83, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(82, 120, 83, 0.3) !important;
}

html[data-theme="summer"] {
    /* Summer Ocean Colors - Deep Blue with Sunset Orange */
    --primary-color: #2563eb !important;
    --primary-rgb: 37, 99, 235 !important;
    --primary-dark: #1e40af !important;
    --primary-light: #3b82f6 !important;
    --secondary-color: #f97316 !important;
    --secondary-dark: #ea580c !important;
    --secondary-light: #fb923c !important;
    
    /* Summer Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1e40af 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #2563eb 0%, #f97316 100%) !important;
    
    /* Summer Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(37, 99, 235, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(37, 99, 235, 0.3) !important;
}

html[data-theme="autumn"] {
    /* Autumn Harvest Colors - Rich Burgundy with Golden Amber */
    --primary-color: #9a3412 !important;
    --primary-rgb: 154, 52, 18 !important;
    --primary-dark: #7c2d12 !important;
    --primary-light: #c2410c !important;
    --secondary-color: #d97706 !important;
    --secondary-dark: #b45309 !important;
    --secondary-light: #f59e0b !important;
    
    /* Autumn Gradients */
    --primary-gradient: linear-gradient(135deg, #9a3412 0%, #c2410c 50%, #7c2d12 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #9a3412 0%, #d97706 100%) !important;
    
    /* Autumn Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(154, 52, 18, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(154, 52, 18, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(154, 52, 18, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(154, 52, 18, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(154, 52, 18, 0.3) !important;
}

html[data-theme="winter"] {
    /* Winter Frost Colors - Cool Slate with Ice Blue */
    --primary-color: #374151 !important;
    --primary-rgb: 55, 65, 81 !important;
    --primary-dark: #1f2937 !important;
    --primary-light: #4b5563 !important;
    --secondary-color: #0ea5e9 !important;
    --secondary-dark: #0284c7 !important;
    --secondary-light: #38bdf8 !important;
    
    /* Winter Gradients */
    --primary-gradient: linear-gradient(135deg, #374151 0%, #4b5563 50%, #1f2937 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #374151 0%, #0ea5e9 100%) !important;
    
    /* Winter Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(55, 65, 81, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(55, 65, 81, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(55, 65, 81, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(55, 65, 81, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(55, 65, 81, 0.3) !important;
}

html[data-theme="royal"] {
    /* Royal Elegance Colors - Purple with Rich Gold */
    --primary-color: #663399 !important;
    --primary-rgb: 102, 51, 153 !important;
    --primary-dark: #4A2567 !important;
    --primary-light: #8844AA !important;
    --secondary-color: #FFD700 !important;
    --secondary-color-rgb: 255, 215, 0 !important;
    --secondary-dark: #FFC107 !important;
    --secondary-light: #FFEB3B !important;
    
    /* Royal Gradients - Simplified */
    --primary-gradient: linear-gradient(135deg, #663399 0%, #4A2567 100%) !important;
    --secondary-gradient: linear-gradient(45deg, #663399 0%, #FFD700 100%) !important;
    
    /* Royal Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(102, 51, 153, 0.1) !important;
    --shadow-md: 0 4px 6px -1px rgba(102, 51, 153, 0.15) !important;
    --shadow-lg: 0 10px 15px -3px rgba(102, 51, 153, 0.2) !important;
    --shadow-xl: 0 20px 25px -5px rgba(102, 51, 153, 0.25) !important;
    --shadow-2xl: 0 25px 50px -12px rgba(102, 51, 153, 0.3) !important;
    
    /* Royal Text Colors - Bright Sparkly Gold text for elegance */
}

/* Royal Elegance Theme - Special Gold Sparkle Effects */
html[data-theme="royal"] .page-title,
html[data-theme="royal"] h1,
html[data-theme="royal"] h2,
html[data-theme="royal"] h3,
html[data-theme="royal"] h4,
html[data-theme="royal"] h5,
html[data-theme="royal"] h6,
html[data-theme="royal"] .card-header h1,
html[data-theme="royal"] .card-header h2,
html[data-theme="royal"] .card-header h3,
html[data-theme="royal"] .card-header h4,
html[data-theme="royal"] .card-header h5,
html[data-theme="royal"] .card-header h6 {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}


html[data-theme="royal"] .menu-link,
html[data-theme="royal"] .menu-section-header,
html[data-theme="royal"] .nav-link,
html[data-theme="royal"] .navbar-brand {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 6px rgba(255, 235, 59, 0.4) !important;
}

html[data-theme="royal"] .menu-link:hover,
html[data-theme="royal"] .menu-section-header:hover,
html[data-theme="royal"] .menu-item.active .menu-link,
html[data-theme="royal"] .nav-link:hover,
html[data-theme="royal"] .nav-link.active {
    color: var(--secondary-light) !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5) !important;
}

html[data-theme="royal"] .stat-card .stat-number,
html[data-theme="royal"] .combined-stats .stat-item h4 {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3) !important;

}

html[data-theme="royal"] .badge {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3) !important;
}

html[data-theme="royal"] a {
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.2) !important;
}

html[data-theme="royal"] a:hover {
    text-shadow: 0 0 8px rgba(255, 235, 59, 0.4) !important;
}

/* Royal Theme - Enhanced Logo Effects */
html[data-theme="royal"] .sidebar-logo img {
    border: 4px solid #663399 !important;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8), 
        0 0 60px rgba(255, 215, 0, 0.5), 
        0 0 90px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

html[data-theme="royal"] .logo-animation-glow {
    animation: royal-logo-glow 2s ease-in-out infinite alternate !important;
}

@keyframes royal-logo-glow {
    from {
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8), 
            0 0 60px rgba(255, 215, 0, 0.5), 
            0 0 90px rgba(255, 215, 0, 0.3),
            inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    to {
        box-shadow: 
            0 0 50px rgba(255, 215, 0, 1.0), 
            0 0 100px rgba(255, 215, 0, 0.8), 
            0 0 150px rgba(255, 215, 0, 0.6),
            0 0 200px rgba(255, 215, 0, 0.3),
            inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

/* ================== UNIVERSAL BUTTON STYLING FOR ALL THEMES ================== */

/* All buttons - Unselected state: white background + primary color text + primary border */
html[data-theme] .btn {
    background: white !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
}

/* All buttons - Hover/selected state: primary background + secondary color text */
html[data-theme] .btn:hover,
html[data-theme] .btn:active,
html[data-theme] .btn.active,
html[data-theme] .btn:focus,
html[data-theme] .btn-check:checked + .btn {
    background: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--secondary-color) !important;
}




html[data-theme] .stat-icon.primary {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

html[data-theme] .badge-primary {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/* ========================================
   17. SIDEBAR NAVIGATION & DASHBOARD
   ======================================== */

/* Main Layout */
.main-wrapper {
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--sidebar-gradient, linear-gradient(180deg, #1a1d29 0%, #2c3e50 50%, #34495e 100%));
    color: var(--sidebar-text, white);
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-logo {
    max-width: 50%;
    height: auto;
    filter: brightness(1.1);
}

.sidebar .nav {
    padding: 0.5rem 0;
    flex: 1;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    border-left: 3px solid transparent;
    font-weight: 500;
    letter-spacing: 0.2px;
    font-size: 0.9rem;
}

.sidebar .nav-link:hover {
    color: var(--sidebar-text, white);
    background-color: rgba(var(--sidebar-accent-rgb, 52, 152, 219), 0.1);
    border-left-color: var(--sidebar-accent, #3498db);
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    color: var(--sidebar-accent, #3498db);
    background-color: rgba(var(--sidebar-accent-rgb, 52, 152, 219), 0.15);
    border-left-color: var(--sidebar-accent, #3498db);
    font-weight: 600;
}

.sidebar .nav-link i {
    margin-right: 0.65rem;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.sidebar .nav-item.has-submenu > .nav-link::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    float: right;
    transition: transform 0.2s ease;
}

.sidebar .nav-item.has-submenu.show > .nav-link::after {
    transform: rotate(90deg);
}

.sidebar .submenu {
    background-color: rgba(0,0,0,0.15);
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.sidebar .submenu.show {
    max-height: 300px;
}

.sidebar .submenu .nav-link {
    padding: 0.45rem 0.75rem 0.45rem 2.75rem;
    font-size: 0.8rem;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.sidebar .submenu .nav-link:hover {
    background-color: rgba(52, 152, 219, 0.08);
    border-left-color: rgba(52, 152, 219, 0.5);
}

.sidebar .submenu .nav-link.active {
    background-color: rgba(52, 152, 219, 0.12);
    border-left-color: #3498db;
    color: #5dade2;
}

.sidebar-footer {
    margin-top: auto;
    padding: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.user-avatar {
    margin-right: 0.5rem;
}

.user-avatar i {
    font-size: 1.5rem;
    color: var(--sidebar-accent, #3498db);
}

.user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: white !important;
    margin-bottom: 0.125rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-email {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.8rem;
    background: rgba(231, 76, 60, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 1);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logout-btn i {
    margin-right: 0.375rem;
    font-size: 0.9rem;
}

.logout-btn span {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 1.5rem;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    width: calc(100% - 280px);
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

/* Dashboard Components */
.dashboard-card {
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}


.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 24px;
}

.quick-action-btn {
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        top: 0;
        left: 0;
        height: 100vh;
        border-radius: 0 20px 20px 0;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 0.75rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .welcome-banner {
        padding: 1.5rem !important;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========================================
   SUPPORT PAGE STYLES
   ======================================== */

.support-card {
    background: white;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.support-hours-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-open { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.status-in_progress { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.status-pending_customer { background: rgba(255, 193, 7, 0.1); color: #ff8c00; }
.status-resolved { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }
.status-closed { background: rgba(108, 117, 125, 0.1); color: #6c757d; }

.priority-low { color: #28a745; }
.priority-medium { color: #ffc107; }
.priority-high { color: #ff8c00; }
.priority-urgent { color: #dc3545; }

.support-open {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #155724;
}

.support-closed {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: 2px solid #dc3545;
    color: white;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    /* No animation by default */
}

@keyframes closedPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 12px 35px rgba(220, 53, 69, 0.6); }
}

/* Support-specific form and button styles */
.support-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.support-page .btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.support-header {
    color: #374151;
}

.support-whatsapp-btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
}

.support-alert {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.support-icon-large {
    font-size: 2rem;
}

/* ========================================
   MODERN NAVIGATION STYLES
   ======================================== */

/* Modern Navigation Container */
.modern-nav {
    background: linear-gradient(180deg,
        rgba(var(--primary-rgb), 0.95) 0%,
        rgba(var(--primary-rgb), 0.9) 50%,
        rgba(var(--primary-rgb), 0.95) 100%);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 4px 0 24px rgba(var(--primary-rgb), 0.3),
                inset -1px 0 0 rgba(255, 255, 255, 0.1);
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

/* Glassmorphism Header */
.sidebar-header.glassmorphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.sidebar-header.glassmorphism::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.1) 0%,
        rgba(var(--secondary-rgb), 0.05) 50%,
        rgba(var(--accent-rgb, var(--secondary-rgb)), 0.1) 100%);
    pointer-events: none;
}

/* Modern Logo Container */
.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
}

.modern-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.3),
                0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-logo-large {
    width: 70% !important;
    height: auto !important;
    max-width: 140px !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.3),
                0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    position: relative;
}

/* Logo Link */
.logo-link {
    display: block;
    text-decoration: none;
    position: relative;
    z-index: 1001;
}

.logo-link:hover .modern-logo-large {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.4),
                0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Content Wrapper */
.nav-content-wrapper {
    flex: 1;
    overflow-y: auto;
    position: relative;
    z-index: 100;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.3) 0%,
        rgba(var(--secondary-rgb), 0.2) 50%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

.logo-container:hover .modern-logo {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation Title */
.nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.theme-gradient-text {
    background: linear-gradient(135deg,
        var(--text-color, white),
        var(--secondary-color),
        var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.3));
}

/* Navigation Divider */
.nav-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(var(--primary-rgb), 0.5) 50%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%);
    margin: 1rem 0;
    box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.3);
}

/* Modern Navigation List */
.modern-nav-list {
    padding: 1rem 0;
    flex: 1;
}

/* Modern Navigation Items */
.modern-nav-item {
    margin: 0.25rem 0.75rem;
    position: relative;
}

.modern-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.modern-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.modern-link:hover::before {
    left: 100%;
}

.modern-link:hover {
    color: white !important;
    background: rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--secondary-rgb), 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.2);
}

.modern-link.active {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.3) 0%,
        rgba(var(--secondary-rgb), 0.2) 100%);
    border-color: rgba(var(--primary-rgb), 0.5);
    color: white !important;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.3);
}

/* Icon Container */
.nav-icon-container {
    position: relative;
    margin-right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-icon {
    font-size: 1.25rem;
    transition: all 0.3s ease;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: radial-gradient(circle,
        rgba(var(--secondary-rgb), 0.3) 0%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-link:hover .icon-glow {
    opacity: 1;
}

.modern-link:hover .modern-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Navigation Text */
.nav-text {
    flex: 1;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Submenu Arrow */
.submenu-arrow {
    transition: transform 0.3s ease;
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}

.has-submenu.show .submenu-arrow {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

/* Modern Submenu */
.modern-submenu {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin: 0.5rem 0 0 2rem;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-height: 0;
    position: relative;
    z-index: 50;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-submenu.show {
    max-height: 300px;
    margin-bottom: 0.5rem;
}

.submenu-item {
    margin: 0.125rem 0.5rem;
}

.submenu-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: transparent;
}

.submenu-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.submenu-link.active {
    color: var(--secondary-color) !important;
    background: rgba(var(--secondary-rgb), 0.1);
}

.submenu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.submenu-link:hover .submenu-dot {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.submenu-link.active .submenu-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 8px rgba(var(--secondary-rgb), 0.5);
}

/* Modern Footer */
.modern-footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    margin-top: auto;
}

.user-info-card {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-avatar {
    position: relative;
    margin-right: 0.75rem;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle,
        rgba(var(--secondary-rgb), 0.3) 0%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-info-card:hover .avatar-glow {
    opacity: 1;
}

.avatar-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.user-info-card:hover .avatar-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.user-details {
    flex: 1;
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.125rem;
}

.user-email {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
}

/* Modern Logout Button */
.modern-logout {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg,
        rgba(220, 53, 69, 0.2) 0%,
        rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.modern-logout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.modern-logout:hover::before {
    left: 100%;
}

.modern-logout:hover {
    color: white !important;
    background: linear-gradient(135deg,
        rgba(220, 53, 69, 0.3) 0%,
        rgba(239, 68, 68, 0.2) 100%);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.3);
}

.logout-icon-container {
    position: relative;
    margin-right: 0.75rem;
}

.logout-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.logout-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: radial-gradient(circle,
        rgba(var(--danger-rgb, 220, 53, 69), 0.4) 0%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-logout:hover .logout-glow {
    opacity: 1;
}

.modern-logout:hover .logout-icon {
    transform: scale(1.1);
    color: var(--danger-color, #ef4444);
}

.logout-text {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Compact Logout Button */
.modern-logout-compact {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.5rem;
    background: linear-gradient(135deg,
        rgba(220, 53, 69, 0.15) 0%,
        rgba(239, 68, 68, 0.08) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 6px;
    color: var(--sidebar-text, white) !important;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 0.25rem;
}

.modern-logout-compact:hover {
    color: white !important;
    background: linear-gradient(135deg,
        rgba(220, 53, 69, 0.25) 0%,
        rgba(239, 68, 68, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
}

.logout-icon-small {
    font-size: 0.8rem;
    margin-right: 0.375rem;
    transition: all 0.3s ease;
}

.logout-text-small {
    font-weight: 500;
    font-size: 0.7rem;
}

/* Floating Animation for Logo */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.floating {
    /* No animation by default */
}

.floating:hover {
    animation: float 2s ease-in-out infinite;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .sidebar-header.glassmorphism {
        padding: 1.5rem 1rem;
    }

    .modern-logo {
        width: 50px !important;
        height: 50px !important;
    }

    .nav-title {
        font-size: 1rem;
    }

    .modern-nav-item {
        margin: 0.125rem 0.5rem;
    }

    .modern-link {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .modern-footer {
        padding: 1rem;
    }
}

/* ========================================
   CLEAN DASHBOARD WELCOME BANNER
   ======================================== */

/* Clean Welcome Card */
.clean-welcome-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.08);
    transition: all 0.3s ease;
    min-height: 180px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

.clean-welcome-card:hover {
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
    transform: translateY(-2px);
}

/* Welcome Content */
.welcome-content {
    padding: 0.5rem 0;
}

.welcome-greeting {
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.8);
}

.welcome-date {
    color: var(--gray-600);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Welcome Icon */
.welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.1) 0%,
        rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.welcome-icon:hover {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.15) 0%,
        rgba(var(--primary-rgb), 0.08) 100%);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: scale(1.05);
}

.welcome-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.welcome-icon:hover i {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clean-welcome-card {
        padding: 1.5rem;
        text-align: center;
    }

    .welcome-greeting {
        font-size: 1.875rem;
    }

    .welcome-date {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .welcome-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }

    .welcome-icon i {
        font-size: 2rem;
    }
}

/* Theme Icon Glow */
.theme-icon-glow {
    filter: drop-shadow(0 0 8px rgba(var(--secondary-rgb), 0.5));
    transition: all 0.3s ease;
}

.theme-icon-glow:hover {
    filter: drop-shadow(0 0 12px rgba(var(--secondary-rgb), 0.8));
    transform: scale(1.1);
}

/* Greeting Icon Container */
.greeting-icon-container {
    position: relative;
    display: inline-block;
}

.greeting-icon {
    font-size: 3.5rem;
    color: var(--text-color, white);
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.3));
}

.greeting-icon-theme-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle,
        rgba(var(--secondary-rgb), 0.3) 0%,
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.greeting-icon-container:hover .greeting-icon-theme-glow {
    opacity: 1;
}

.greeting-icon-container:hover .greeting-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
    opacity: 1;
}

/* Theme Glassmorphism Effect */
.theme-glassmorphism {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.theme-glassmorphism::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.05) 0%,
        rgba(var(--secondary-rgb), 0.03) 50%,
        rgba(var(--primary-rgb), 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Theme Icon Styling */
.theme-icon {
    background: linear-gradient(135deg,
        var(--primary-color),
        var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.3));
}

/* Enhanced Stats Cards */
.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1),
                0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

/* Stat Icons */
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.1) 0%,
        rgba(var(--secondary-rgb), 0.05) 100%);
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==========================================
   MODERN SUPPORT PAGE ENHANCEMENTS - CUTTING EDGE
   ========================================== */

/* Support Page Body Background */
.support-page {
    background: linear-gradient(135deg,
        var(--gray-50) 0%,
        var(--gray-100) 50%,
        var(--gray-50) 100%);
    min-height: 100vh;
}

/* Modern Support Banner */
.modern-support-banner {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.95) 0%,
        rgba(var(--primary-rgb), 0.85) 50%,
        rgba(var(--primary-rgb), 0.95) 100%) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    margin-bottom: 2rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.support-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.support-subtitle {
    font-size: 1rem;
    color: #6b1f7b !important;
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Support Status Cards */
.support-status-open,
.support-status-closed {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.support-status-open {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.9) 0%,
        rgba(22, 163, 74, 0.8) 100%);
}

.support-status-closed {
    background: linear-gradient(135deg,
        rgba(251, 146, 60, 0.9) 0%,
        rgba(234, 88, 12, 0.8) 100%);
}

.status-glow-green,
.status-glow-orange {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%);
    /* No animation by default */
}

.status-icon-large {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white !important;
}

.status-text {
    font-weight: 600;
    font-size: 1rem;
    color: white !important;
}

.closed-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Modern Support Container */
.modern-support-container {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1);
}

.support-container-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.03) 0%,
        transparent 70%);
    /* No animation by default */
}

/* Modern Info Cards */
.modern-info-card {
    background: white;
    border-radius: 15px;
    border: 1px solid var(--gray-200);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
}

.info-card-glow {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.02) 0%,
        transparent 70%);
    /* No animation by default */
}

/* Modern Contact Cards */
.modern-contact-card {
    background: white !important;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.modern-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modern-contact-card h5 {
    color: #6b1f7b !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.modern-contact-card .contact-description {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.modern-contact-card .contact-icon {
    font-size: 2.5rem;
    color: #6b1f7b !important;
    margin-bottom: 1rem;
    display: block;
}

.modern-contact-card .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
}

.contact-card-glow {
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.03) 0%,
        transparent 70%);
    /* No animation by default */
}

.contact-icon-container {
    position: relative;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color) !important;
}

.contact-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.1) 0%,
        transparent 70%);
    border-radius: 50%;
    /* No animation by default */
}

.contact-description {
    margin-bottom: 1rem;
    color: #6c757d !important;
}

/* WhatsApp Contact Card */
.modern-whatsapp-contact {
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
}

.whatsapp-icon-color {
    color: #25D366 !important;
}

/* Modern WhatsApp Card */
.modern-whatsapp-card {
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
}

.whatsapp-glow {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(34, 197, 94, 0.03) 0%,
        transparent 70%);
    /* No animation by default */
}

.modern-whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    border: none;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.modern-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white !important;
}

/* Modern Alert Banner */
.modern-alert-banner {
    background: linear-gradient(135deg,
        rgba(251, 146, 60, 0.1) 0%,
        rgba(234, 88, 12, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(251, 146, 60, 0.2);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(251, 146, 60, 0.1);
}

.alert-banner-glow {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(251, 146, 60, 0.03) 0%,
        transparent 70%);
    /* No animation by default */
}

.alert-icon-container {
    position: relative;
}

.alert-icon-large {
    font-size: 2.5rem;
    color: var(--warning-color) !important;
}

.alert-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
        rgba(251, 146, 60, 0.1) 0%,
        transparent 70%);
    border-radius: 50%;
    /* No animation by default */
}

.alert-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800) !important;
}

.alert-content p {
    color: var(--gray-700) !important;
}

.modern-close-btn {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-600) !important;
}

.modern-close-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

/* Modern Form Card */
.modern-form-card {
    background: white !important;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.modern-form-card * {
    pointer-events: auto !important;
}

.modern-form-card form {
    position: relative;
    z-index: 10;
}

.modern-form-card .form-control,
.modern-form-card .form-select {
    border: 2px solid #dee2e6 !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: white !important;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.modern-form-card .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.form-card-glow {
    display: none;
}

.modern-submit-btn {
    background: #6b1f7b !important;
    border: none !important;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 31, 123, 0.3);
    color: white !important;
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
    color: white !important;
}

/* Modern Tickets Card */
.modern-tickets-card {
    background: white;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
}

.tickets-card-glow {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.02) 0%,
        transparent 70%);
    /* No animation by default */
}

.empty-tickets-state {
    padding: 2rem 1rem;
}

.empty-inbox-icon {
    font-size: 3rem;
    color: var(--gray-400) !important;
}

.modern-ticket-item {
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-ticket-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.1);
    background: white;
}

.ticket-item-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.02) 0%,
        transparent 70%);
    /* No animation by default */
}

.modern-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--gray-300);
    background: var(--gray-100);
    color: var(--gray-700) !important;
}

/* Modern Tips Card */
.modern-tips-card {
    background: white;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
}

.tips-card-glow {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(var(--primary-rgb), 0.02) 0%,
        transparent 70%);
    /* No animation by default */
}

.modern-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tips-item:hover {
    background: var(--gray-50);
    transform: translateX(5px);
}

.tips-item:last-child {
    margin-bottom: 0;
}

.tips-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: var(--success-color) !important;
}

.tips-item span {
    color: var(--gray-700) !important;
}

/* Theme Text Classes for Support Page */
.theme-text {
    color: var(--gray-700) !important;
}

.theme-gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color) !important;
}

.theme-icon {
    color: var(--primary-color) !important;
}

.theme-icon-glow {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.3));
}

.theme-btn {
    background: #6b1f7b !important;
    border: none !important;
    color: white !important;
    font-weight: 500;
}

.theme-btn:hover {
    color: white !important;
}

.theme-btn-outline {
    background: transparent !important;
    border: 2px solid #6b1f7b !important;
    color: #6b1f7b !important;
}

.theme-btn-outline:hover {
    background: #6b1f7b !important;
    color: white !important;
}

/* Support Page Animations */
@keyframes supportBannerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes statusGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes containerGlow {
    0%, 100% { opacity: 0.5; transform: rotate(0deg); }
    50% { opacity: 0.8; transform: rotate(180deg); }
}

@keyframes infoCardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-3px) rotate(0.5deg); }
    66% { transform: translateY(2px) rotate(-0.3deg); }
}

@keyframes infoGlow {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.1) rotate(180deg); }
}

@keyframes contactCardFloat {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-2px); }
    75% { transform: translateY(1px); }
}

@keyframes contactGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes whatsappGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes alertGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes formGlow {
    0%, 100% { opacity: 0.5; transform: rotate(0deg); }
    50% { opacity: 0.8; transform: rotate(180deg); }
}

@keyframes ticketsGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes ticketItemGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes tipsGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}


/* ==========================================
   GLOBAL GLASSMORPHISM FIXES FOR WHITE BACKGROUNDS
   ========================================== */

/* Fix theme glassmorphism for pages with white backgrounds */
.main-content .theme-glassmorphism {
    background: white !important;
    border: 1px solid var(--gray-200) !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08) !important;
}

/* Fix theme text colors for readability */
.main-content .theme-gradient-text {
    background: var(--primary-gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: var(--primary-color) !important;
    text-shadow: none !important;
}

.main-content .theme-text {
    color: var(--gray-700) !important;
    text-shadow: none !important;
}

.main-content .theme-icon {
    color: var(--primary-color) !important;
    text-shadow: none !important;
}

.main-content .theme-icon-glow {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.3)) !important;
    text-shadow: none !important;
}

/* ========================================
   END OF STYLESHEET
   ======================================== */
