/* ============================================
   FEYA DESIGN SYSTEM
   Unified styling for the entire application
   ============================================ */

/* Google Fonts - Elegant Cursive & Display Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Dancing+Script:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* === PRIMARY BRAND COLORS - Magical Teal Theme === */
    --feya-primary: #2ABFB3;           /* Teal - main brand color */
    --feya-primary-dark: #1a8f86;
    --feya-primary-light: #5CD4C9;
    --feya-primary-rgb: 42, 191, 179;

    /* === ROLE-BASED COLORS === */
    --feya-fairy: #D4A84B;             /* Gold - Fairy theme */
    --feya-fairy-dark: #b8923d;
    --feya-fairy-light: #E8C97D;
    --feya-fairy-rgb: 212, 168, 75;

    --feya-cinderella: #3b82f6;        /* Blue - Cinderella theme */
    --feya-cinderella-dark: #2563eb;
    --feya-cinderella-light: #60a5fa;
    --feya-cinderella-rgb: 59, 130, 246;

    /* === MAGICAL THEME COLORS === */
    --feya-purple: #8B5CF6;
    --feya-purple-light: #A78BFA;
    --feya-pink: #EC4899;
    --feya-deep-blue: #0a1628;
    --feya-midnight: #0d1f35;

    /* === STATUS COLORS === */
    --feya-success: #10b981;           /* Emerald */
    --feya-success-rgb: 16, 185, 129;
    --feya-warning: #f59e0b;           /* Amber */
    --feya-warning-rgb: 245, 158, 11;
    --feya-danger: #ef4444;            /* Red */
    --feya-danger-rgb: 239, 68, 68;
    --feya-info: #06b6d4;              /* Cyan */
    --feya-info-rgb: 6, 182, 212;

    /* === NEUTRAL COLORS === */
    --feya-dark: #1e293b;              /* Slate 800 */
    --feya-gray: #64748b;              /* Slate 500 */
    --feya-gray-light: #94a3b8;        /* Slate 400 */
    --feya-light: #f1f5f9;             /* Slate 100 */
    --feya-white: #ffffff;
    --feya-black: #0f172a;             /* Slate 900 */

    /* === ACCENT COLORS === */
    --feya-accent: #DE9B72;            /* Original tan/brown from wish cards */
    --feya-magic: #a855f7;             /* Purple - magical elements */
    --feya-sparkle: #fcd34d;           /* Yellow - sparkle/stars */

    /* === BACKGROUNDS === */
    --feya-bg-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.9));
    --feya-bg-fairy: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    --feya-bg-cinderella: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
    --feya-bg-glass: rgba(255, 255, 255, 0.1);
    --feya-bg-card: rgba(255, 255, 255, 0.95);
    --feya-bg-dark-overlay: linear-gradient(rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.9));

    /* === SHADOWS === */
    --feya-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --feya-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --feya-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --feya-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --feya-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --feya-shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
    --feya-shadow-fairy: 0 0 30px rgba(245, 158, 11, 0.3);
    --feya-shadow-cinderella: 0 0 30px rgba(59, 130, 246, 0.3);

    /* === BORDERS === */
    --feya-border: #e2e8f0;
    --feya-border-radius: 0.5rem;
    --feya-border-radius-lg: 1rem;
    --feya-border-radius-xl: 1.5rem;
    --feya-border-radius-full: 9999px;

    /* === TYPOGRAPHY === */
    --feya-font-display: 'Playfair Display', Georgia, serif;
    --feya-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --feya-font-accent: 'Cormorant Garamond', Georgia, serif;
    --feya-font-cursive: 'Great Vibes', 'Dancing Script', cursive;
    --feya-font-script: 'Dancing Script', 'Great Vibes', cursive;

    /* === TRANSITIONS === */
    --feya-transition-fast: 150ms ease;
    --feya-transition: 250ms ease;
    --feya-transition-slow: 400ms ease;

    /* === Z-INDEX LAYERS === */
    --feya-z-dropdown: 1000;
    --feya-z-sticky: 1020;
    --feya-z-fixed: 1030;
    --feya-z-modal-backdrop: 1040;
    --feya-z-modal: 1050;
    --feya-z-popover: 1060;
    --feya-z-tooltip: 1070;
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--feya-font-body);
    color: var(--feya-white);
    background: var(--feya-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fairytale background - Works with magical-background.css animated elements */
body.feya-bg {
    background: transparent;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   ENCHANTED NAVBAR - Elegant Transparent Design
   Matches refined elegant theme with teal/gold accents
   ============================================ */
.feya-navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 0.75rem 0;
    position: relative;
    z-index: var(--feya-z-sticky);
    border-bottom: none;
}

.feya-navbar::before {
    display: none;
}

.feya-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(42, 191, 179, 0.3) 20%,
        rgba(42, 191, 179, 0.5) 50%,
        rgba(42, 191, 179, 0.3) 80%,
        transparent
    );
    pointer-events: none;
}

.feya-navbar .container {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.feya-navbar .navbar-brand {
    font-weight: 700;
    color: var(--feya-white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    transition: var(--feya-transition);
}

.feya-navbar .navbar-brand:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(42, 191, 179, 0.7));
}

.feya-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.feya-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--feya-border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.feya-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--feya-primary);
    transition: width 0.3s ease;
}

.feya-navbar .nav-link:hover::before,
.feya-navbar .nav-link.active::before {
    width: 100%;
}

.feya-navbar .nav-link:hover,
.feya-navbar .nav-link.active {
    color: #ffffff !important;
    background: transparent;
}

.feya-navbar .nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: rgba(42, 191, 179, 0.8);
}

.feya-navbar .nav-link:hover i {
    transform: scale(1.15);
    color: var(--feya-primary);
}

/* Special CTA nav link */
.feya-nav-cta {
    background: transparent !important;
    border: 1px solid var(--feya-primary) !important;
    color: var(--feya-primary) !important;
    margin-left: 0.5rem;
}

.feya-nav-cta:hover {
    background: var(--feya-primary) !important;
    color: #0B1A2B !important;
    box-shadow: 0 0 20px rgba(42, 191, 179, 0.4);
}

/* Navbar Toggler for Mobile */
.feya-navbar .navbar-toggler {
    border: 1px solid rgba(42, 191, 179, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: var(--feya-border-radius);
    color: var(--feya-primary);
    transition: var(--feya-transition);
}

.feya-navbar .navbar-toggler:hover {
    background: rgba(42, 191, 179, 0.15);
    border-color: var(--feya-primary);
}

.feya-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.25);
}

.feya-navbar .navbar-toggler i {
    font-size: 1.5rem;
}

/* Navbar Role Badge */
.feya-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--feya-border-radius-full);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feya-role-badge.fairy {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.3));
    border-color: rgba(245, 158, 11, 0.5);
}

.feya-role-badge.cinderella {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    border-color: rgba(59, 130, 246, 0.5);
    color: #93C5FD;
}

.feya-role-badge.admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    border-color: rgba(239, 68, 68, 0.5);
    color: #FCA5A5;
}

/* Dropdown toggle styling */
.feya-navbar .dropdown-toggle::after {
    color: rgba(255, 215, 0, 0.7);
    transition: transform 0.3s ease;
}

.feya-navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ============================================
   CARDS - Dark Elegant Glass Design
   ============================================ */
.feya-card {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 191, 179, 0.2);
    border-radius: var(--feya-border-radius-lg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(42, 191, 179, 0.1);
    overflow: hidden;
    transition: var(--feya-transition);
    color: var(--feya-white);
}

.feya-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(42, 191, 179, 0.15);
    border-color: rgba(42, 191, 179, 0.3);
}

.feya-card .card-header {
    background: rgba(17, 34, 64, 0.5);
    border-bottom: 1px solid rgba(42, 191, 179, 0.15);
    padding: 1.25rem;
    font-family: var(--feya-font-script);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--feya-white);
}

.feya-card .card-title,
.feya-card h5,
.feya-card h4 {
    font-family: var(--feya-font-script);
    font-weight: 500;
    color: var(--feya-white);
}

.feya-card .card-body {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.feya-card .card-footer {
    background: rgba(17, 34, 64, 0.5);
    border-top: 1px solid rgba(42, 191, 179, 0.15);
    padding: 1rem 1.25rem;
}

/* ============================================
   TABLE STYLES - Dark Theme
   ============================================ */
.feya-card .table {
    color: var(--feya-white);
    margin-bottom: 0;
}

.feya-card .table thead {
    background: rgba(17, 34, 64, 0.6);
}

.feya-card .table thead th {
    border-bottom: 1px solid rgba(42, 191, 179, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 1rem;
}

.feya-card .table tbody tr {
    background: transparent;
    transition: background-color 0.2s ease;
}

.feya-card .table tbody tr:hover {
    background: rgba(42, 191, 179, 0.15) !important;
}

.feya-card .table tbody td {
    border-bottom: 1px solid rgba(42, 191, 179, 0.1);
    padding: 0.875rem 1rem;
    vertical-align: middle;
}

/* Override Bootstrap table-warning for dark theme */
.feya-card .table-warning,
.feya-card .table-warning > td,
.feya-card .table-warning > th {
    background: rgba(201, 169, 98, 0.15) !important;
    color: var(--feya-white);
}

.feya-card .table-warning:hover,
.feya-card .table-warning:hover > td,
.feya-card .table-warning:hover > th {
    background: rgba(42, 191, 179, 0.2) !important;
}

/* Override Bootstrap table-light for dark theme */
.feya-card .table-light,
.feya-card .table-light > td,
.feya-card .table-light > th {
    background: rgba(17, 34, 64, 0.6) !important;
    color: rgba(255, 255, 255, 0.9);
}

/* Glass Card Effect - Enhanced */
.feya-card-glass {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 191, 179, 0.25);
    border-radius: var(--feya-border-radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(42, 191, 179, 0.1);
    color: var(--feya-white);
}

.feya-card-glass .card-body {
    color: var(--feya-white);
}

/* ============================================
   WISH CARD - Dark Elegant Style
   ============================================ */
.feya-wish-card {
    position: relative;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(201, 169, 98, 0.4);
    border-radius: var(--feya-border-radius-lg);
    padding: 1.5rem;
    transition: var(--feya-transition);
    overflow: visible;
}

.feya-wish-card::before,
.feya-wish-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(201, 169, 98, 0.5);
    pointer-events: none;
}

.feya-wish-card::before {
    top: -6px;
    left: -6px;
    border-right: none;
    border-bottom: none;
    border-radius: var(--feya-border-radius) 0 0 0;
}

.feya-wish-card::after {
    bottom: -6px;
    right: -6px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 var(--feya-border-radius) 0;
}

.feya-wish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.6);
}

.feya-wish-card .wish-content {
    color: var(--feya-white);
}

.feya-wish-card .wish-title {
    font-family: var(--feya-font-accent);
    font-size: 1.25rem;
    color: var(--feya-white);
    margin-bottom: 1rem;
}

.feya-wish-card .wish-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BUTTONS - Modern Style
   ============================================ */
.feya-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--feya-border-radius);
    border: none;
    cursor: pointer;
    transition: var(--feya-transition);
    text-decoration: none;
    white-space: nowrap;
}

.feya-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--feya-primary-rgb), 0.3);
}

/* Primary Button */
.feya-btn-primary {
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-primary-dark));
    color: var(--feya-white);
}

.feya-btn-primary:hover {
    background: linear-gradient(135deg, var(--feya-primary-dark), var(--feya-primary));
    transform: translateY(-2px);
    box-shadow: var(--feya-shadow-md);
    color: var(--feya-white);
}

/* Fairy Button (Gold) */
.feya-btn-fairy {
    background: linear-gradient(135deg, var(--feya-fairy), var(--feya-fairy-dark));
    color: var(--feya-white);
}

.feya-btn-fairy:hover {
    background: linear-gradient(135deg, var(--feya-fairy-dark), var(--feya-fairy));
    transform: translateY(-2px);
    box-shadow: var(--feya-shadow-fairy);
    color: var(--feya-white);
}

/* Cinderella Button (Blue) */
.feya-btn-cinderella {
    background: linear-gradient(135deg, var(--feya-cinderella), var(--feya-cinderella-dark));
    color: var(--feya-white);
}

.feya-btn-cinderella:hover {
    background: linear-gradient(135deg, var(--feya-cinderella-dark), var(--feya-cinderella));
    transform: translateY(-2px);
    box-shadow: var(--feya-shadow-cinderella);
    color: var(--feya-white);
}

/* Magic Button (Purple gradient) */
.feya-btn-magic {
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-magic));
    color: var(--feya-white);
    position: relative;
    overflow: hidden;
}

.feya-btn-magic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.feya-btn-magic:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--feya-shadow-glow);
    color: var(--feya-white);
}

/* Success Button */
.feya-btn-success {
    background: linear-gradient(135deg, var(--feya-success), #059669);
    color: var(--feya-white);
}

.feya-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--feya-success-rgb), 0.4);
    color: var(--feya-white);
}

/* Danger Button */
.feya-btn-danger {
    background: linear-gradient(135deg, var(--feya-danger), #dc2626);
    color: var(--feya-white);
}

.feya-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--feya-danger-rgb), 0.4);
    color: var(--feya-white);
}

/* Outline Button - Gold Elegant Style */
.feya-btn-outline {
    background: transparent;
    border: 2px solid rgba(201, 169, 98, 0.6);
    color: #C9A962;
}

.feya-btn-outline:hover {
    background: rgba(201, 169, 98, 0.15);
    border-color: #C9A962;
    color: #DEC88A;
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.3);
}

/* Teal Outline Button */
.feya-btn-outline-teal {
    background: transparent;
    border: 2px solid rgba(42, 191, 179, 0.6);
    color: var(--feya-primary);
}

.feya-btn-outline-teal:hover {
    background: rgba(42, 191, 179, 0.15);
    border-color: var(--feya-primary);
    color: var(--feya-primary-light);
    box-shadow: 0 0 20px rgba(42, 191, 179, 0.3);
}

/* Glass Button */
.feya-btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--feya-white);
}

.feya-btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: var(--feya-white);
}

/* Button Sizes */
.feya-btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
}

.feya-btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.feya-btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    border-radius: var(--feya-border-radius-lg);
}

/* ============================================
   FORMS - Modern Style
   ============================================ */
.feya-form-group {
    margin-bottom: 1.25rem;
}

.feya-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--feya-white);
    margin-bottom: 0.5rem;
}

.feya-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--feya-font-body);
    color: var(--feya-dark);
    background: var(--feya-white);
    border: 2px solid var(--feya-border);
    border-radius: var(--feya-border-radius);
    transition: var(--feya-transition);
}

.feya-form-control:focus {
    outline: none;
    border-color: var(--feya-primary);
    box-shadow: 0 0 0 3px rgba(var(--feya-primary-rgb), 0.2);
}

.feya-form-control::placeholder {
    color: var(--feya-gray-light);
}

/* Glass Input */
.feya-form-control-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--feya-white);
    backdrop-filter: blur(10px);
}

.feya-form-control-glass:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.feya-form-control-glass::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Select */
.feya-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Textarea */
.feya-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Character Counter */
.feya-char-counter {
    font-size: 0.75rem;
    color: var(--feya-gray-light);
    text-align: right;
    margin-top: 0.25rem;
}

.feya-char-counter.warning {
    color: var(--feya-warning);
}

.feya-char-counter.danger {
    color: var(--feya-danger);
}

/* ============================================
   BADGES
   ============================================ */
.feya-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--feya-border-radius-full);
    white-space: nowrap;
}

.feya-badge-primary {
    background: rgba(var(--feya-primary-rgb), 0.15);
    color: var(--feya-primary);
}

.feya-badge-fairy {
    background: rgba(var(--feya-fairy-rgb), 0.15);
    color: var(--feya-fairy-dark);
}

.feya-badge-cinderella {
    background: rgba(var(--feya-cinderella-rgb), 0.15);
    color: var(--feya-cinderella-dark);
}

.feya-badge-success {
    background: rgba(var(--feya-success-rgb), 0.15);
    color: var(--feya-success);
}

.feya-badge-warning {
    background: rgba(var(--feya-warning-rgb), 0.15);
    color: #b45309;
}

.feya-badge-danger {
    background: rgba(var(--feya-danger-rgb), 0.15);
    color: var(--feya-danger);
}

.feya-badge-info {
    background: rgba(var(--feya-info-rgb), 0.15);
    color: #0891b2;
}

/* Status Badges */
.feya-badge-status {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
}

/* ============================================
   ALERTS
   ============================================ */
.feya-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--feya-border-radius);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feya-alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feya-alert-success {
    background: rgba(var(--feya-success-rgb), 0.1);
    border: 1px solid rgba(var(--feya-success-rgb), 0.3);
    color: #065f46;
}

.feya-alert-warning {
    background: rgba(var(--feya-warning-rgb), 0.1);
    border: 1px solid rgba(var(--feya-warning-rgb), 0.3);
    color: #92400e;
}

.feya-alert-danger {
    background: rgba(var(--feya-danger-rgb), 0.1);
    border: 1px solid rgba(var(--feya-danger-rgb), 0.3);
    color: #991b1b;
}

.feya-alert-info {
    background: rgba(var(--feya-info-rgb), 0.1);
    border: 1px solid rgba(var(--feya-info-rgb), 0.3);
    color: #0e7490;
}

/* Glass Alert */
.feya-alert-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--feya-white);
    backdrop-filter: blur(10px);
}

/* ============================================
   MODALS
   ============================================ */
.feya-modal .modal-content {
    background: var(--feya-bg-card);
    border: none;
    border-radius: var(--feya-border-radius-xl);
    box-shadow: var(--feya-shadow-xl);
    overflow: hidden;
}

.feya-modal .modal-header {
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-magic));
    border: none;
    padding: 1.25rem 1.5rem;
}

.feya-modal .modal-title {
    color: var(--feya-white);
    font-weight: 600;
}

.feya-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.feya-modal .btn-close:hover {
    opacity: 1;
}

.feya-modal .modal-body {
    padding: 1.5rem;
    color: var(--feya-dark);
}

.feya-modal .modal-footer {
    border-top: 1px solid var(--feya-border);
    padding: 1rem 1.5rem;
}

/* Glass Modal */
.feya-modal-glass .modal-content {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feya-modal-glass .modal-body {
    color: var(--feya-white);
}

/* ============================================
   HERO SECTIONS - Animated Characters
   ============================================ */
.feya-hero {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    border-radius: var(--feya-border-radius-xl);
    overflow: hidden;
    min-height: 400px;
    background: transparent;
}

.feya-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 26, 43, 0.3) 0%,
        rgba(17, 34, 64, 0.4) 50%,
        rgba(11, 26, 43, 0.3) 100%
    );
    z-index: 1;
    border-radius: var(--feya-border-radius-xl);
}

.feya-hero-content {
    position: relative;
    z-index: 10;
}

/* ============================================
   ANIMATED CHARACTERS CONTAINER
   ============================================ */
.hero-characters {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   FAIRY CHARACTER - CSS Animated
   ============================================ */
.fairy-character {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: fairyFloat 8s ease-in-out infinite;
}

.fairy-character.fairy-1 {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.fairy-character.fairy-2 {
    right: 15%;
    top: 30%;
    animation-delay: 2s;
    transform: scale(0.8);
}

.fairy-character.fairy-3 {
    left: 25%;
    bottom: 25%;
    animation-delay: 4s;
    transform: scale(0.6);
}

.fairy-character.fairy-4 {
    right: 25%;
    bottom: 20%;
    animation-delay: 6s;
    transform: scale(0.7);
}

/* Fairy Body */
.fairy-body {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Fairy Glow */
.fairy-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(42, 191, 179, 0.6) 0%, rgba(42, 191, 179, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: fairyGlow 2s ease-in-out infinite;
}

/* Fairy Wings */
.fairy-wings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fairy-wing {
    position: absolute;
    width: 35px;
    height: 25px;
    background: linear-gradient(135deg, rgba(42, 191, 179, 0.4) 0%, rgba(201, 169, 98, 0.3) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(42, 191, 179, 0.5);
}

.fairy-wing.left {
    right: 10px;
    top: -12px;
    transform: rotate(-30deg);
    animation: wingFlapLeft 0.3s ease-in-out infinite;
}

.fairy-wing.right {
    left: 10px;
    top: -12px;
    transform: rotate(30deg);
    animation: wingFlapRight 0.3s ease-in-out infinite;
}

/* Fairy Core (the light body) */
.fairy-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 25px;
    background: radial-gradient(ellipse at center, #ffffff 0%, rgba(42, 191, 179, 0.9) 50%, rgba(42, 191, 179, 0.4) 100%);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    box-shadow:
        0 0 20px rgba(42, 191, 179, 0.8),
        0 0 40px rgba(42, 191, 179, 0.4),
        0 0 60px rgba(201, 169, 98, 0.3);
}

/* Fairy Trail (sparkle dust) */
.fairy-trail {
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: rgba(201, 169, 98, 0.8);
    border-radius: 50%;
    box-shadow:
        -5px 5px 0 rgba(42, 191, 179, 0.6),
        -10px 12px 0 rgba(201, 169, 98, 0.4),
        5px 8px 0 rgba(42, 191, 179, 0.5),
        -15px 20px 0 rgba(201, 169, 98, 0.3),
        10px 15px 0 rgba(42, 191, 179, 0.3);
    animation: fairyTrail 1.5s ease-in-out infinite;
}

/* ============================================
   CINDERELLA CHARACTER - CSS Animated
   ============================================ */
.cinderella-character {
    position: absolute;
    width: 100px;
    height: 150px;
}

.cinderella-character.cinderella-1 {
    left: 8%;
    bottom: 10%;
    animation: cinderellaFloat 6s ease-in-out infinite;
}

.cinderella-character.cinderella-2 {
    right: 10%;
    bottom: 15%;
    animation: cinderellaFloat 6s ease-in-out infinite;
    animation-delay: 3s;
    transform: scale(0.9) scaleX(-1);
}

/* Cinderella Body */
.cinderella-body {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Cinderella Dress */
.cinderella-dress {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 90px;
    background: linear-gradient(
        180deg,
        rgba(96, 165, 250, 0.9) 0%,
        rgba(59, 130, 246, 0.85) 40%,
        rgba(37, 99, 235, 0.8) 100%
    );
    border-radius: 35% 35% 50% 50% / 20% 20% 50% 50%;
    box-shadow:
        0 5px 30px rgba(59, 130, 246, 0.4),
        inset 0 -20px 40px rgba(30, 58, 138, 0.3);
    animation: dressSwayHero 3s ease-in-out infinite;
}

/* Dress Shimmer */
.cinderella-dress::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 30%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 100%
    );
    border-radius: inherit;
    animation: dressShimmer 4s ease-in-out infinite;
}

/* Sparkles on dress */
.cinderella-dress::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    animation: dressSparkles 2s ease-in-out infinite;
}

/* Cinderella Bodice */
.cinderella-bodice {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 30px;
    background: linear-gradient(
        180deg,
        rgba(96, 165, 250, 0.95) 0%,
        rgba(59, 130, 246, 0.9) 100%
    );
    border-radius: 30% 30% 50% 50% / 40% 40% 60% 60%;
    box-shadow: inset 0 -5px 10px rgba(30, 58, 138, 0.3);
}

/* Cinderella Head */
.cinderella-head {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 32px;
    background: linear-gradient(180deg, #fde7d4 0%, #f5d0b4 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hair */
.cinderella-hair {
    position: absolute;
    top: -8px;
    left: -5px;
    width: 38px;
    height: 30px;
    background: linear-gradient(180deg, #f4d03f 0%, #d4ac0d 100%);
    border-radius: 50% 50% 30% 30%;
    z-index: -1;
}

/* Hair Bun */
.cinderella-bun {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: linear-gradient(180deg, #f4d03f 0%, #d4ac0d 100%);
    border-radius: 50%;
}

/* ============================================
   MAGIC ELEMENTS - Floating sparkles and stars
   ============================================ */
.hero-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffffff 0%, rgba(201, 169, 98, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    animation: heroSparkle 3s ease-in-out infinite;
}

.hero-sparkle:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.hero-sparkle:nth-child(2) { left: 30%; top: 40%; animation-delay: 0.5s; }
.hero-sparkle:nth-child(3) { left: 70%; top: 25%; animation-delay: 1s; }
.hero-sparkle:nth-child(4) { left: 85%; top: 45%; animation-delay: 1.5s; }
.hero-sparkle:nth-child(5) { left: 50%; top: 60%; animation-delay: 2s; }
.hero-sparkle:nth-child(6) { left: 20%; top: 70%; animation-delay: 2.5s; }
.hero-sparkle:nth-child(7) { left: 80%; top: 65%; animation-delay: 0.8s; }
.hero-sparkle:nth-child(8) { left: 45%; top: 15%; animation-delay: 1.8s; }

/* Magic Wand Trail */
.magic-wand-trail {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wand-star {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(201, 169, 98, 0.8);
    text-shadow: 0 0 10px rgba(201, 169, 98, 0.6);
    animation: wandStarFloat 5s ease-in-out infinite;
}

.wand-star:nth-child(1) { left: 10%; animation-delay: 0s; }
.wand-star:nth-child(2) { left: 30%; animation-delay: 1s; }
.wand-star:nth-child(3) { left: 50%; animation-delay: 2s; }
.wand-star:nth-child(4) { left: 70%; animation-delay: 3s; }
.wand-star:nth-child(5) { left: 90%; animation-delay: 4s; }

/* ============================================
   HERO ANIMATIONS
   ============================================ */
@keyframes fairyFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

@keyframes fairyGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes wingFlapLeft {
    0%, 100% {
        transform: rotate(-30deg) scaleY(1);
    }
    50% {
        transform: rotate(-45deg) scaleY(0.8);
    }
}

@keyframes wingFlapRight {
    0%, 100% {
        transform: rotate(30deg) scaleY(1);
    }
    50% {
        transform: rotate(45deg) scaleY(0.8);
    }
}

@keyframes fairyTrail {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateY(10px);
    }
}

@keyframes cinderellaFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes dressSwayHero {
    0%, 100% {
        border-radius: 35% 35% 50% 50% / 20% 20% 50% 50%;
    }
    50% {
        border-radius: 30% 40% 50% 50% / 20% 20% 50% 50%;
    }
}

@keyframes dressShimmer {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-10%);
    }
    50% {
        opacity: 1;
        transform: translateX(10%);
    }
}

@keyframes dressSparkles {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes heroSparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes wandStarFloat {
    0% {
        opacity: 0;
        transform: translateY(100%) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Fairy Hero - Teal/Gold theme */
.feya-hero-fairy {
    background: transparent;
}

.feya-hero-fairy::before {
    background: linear-gradient(
        135deg,
        rgba(42, 191, 179, 0.1) 0%,
        rgba(17, 34, 64, 0.3) 50%,
        rgba(201, 169, 98, 0.1) 100%
    );
}

/* Cinderella Hero - Blue theme */
.feya-hero-cinderella {
    background: transparent;
}

.feya-hero-cinderella::before {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(17, 34, 64, 0.3) 50%,
        rgba(96, 165, 250, 0.1) 100%
    );
}

.feya-hero-title {
    font-family: 'Dancing Script', var(--feya-font-cursive);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--feya-white);
    margin-bottom: 1.5rem;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 4px 20px rgba(42, 191, 179, 0.3),
        0 0 40px rgba(201, 169, 98, 0.2);
    letter-spacing: 0.03em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .feya-hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .feya-hero-title {
        font-size: 4rem;
    }
}

.feya-hero-subtitle {
    font-family: 'Dancing Script', var(--feya-font-cursive);
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(42, 191, 179, 0.2);
    line-height: 1.4;
}

.feya-hero-subtitle strong {
    color: var(--feya-primary-light);
    font-weight: 600;
}

.feya-hero-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--feya-sparkle);
    text-shadow: 0 0 20px rgba(252, 211, 77, 0.5);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================
   STATS CARDS
   ============================================ */
.feya-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--feya-border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--feya-transition);
}

.feya-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--feya-shadow-lg);
}

.feya-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--feya-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.feya-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   LEADERBOARD
   ============================================ */
.feya-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--feya-border-radius);
    margin-bottom: 0.75rem;
    transition: var(--feya-transition);
}

.feya-leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feya-leaderboard-rank {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--feya-border-radius-full);
    font-weight: 700;
    font-size: 0.875rem;
}

.feya-leaderboard-rank.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
}

.feya-leaderboard-rank.silver {
    background: linear-gradient(135deg, #e5e7eb, #9ca3af);
    color: #374151;
}

.feya-leaderboard-rank.bronze {
    background: linear-gradient(135deg, #fcd34d, #d97706);
    color: #78350f;
}

.feya-leaderboard-name {
    flex-grow: 1;
    font-weight: 600;
    color: var(--feya-white);
}

.feya-leaderboard-score {
    font-weight: 700;
    color: var(--feya-fairy);
}

/* ============================================
   AVATARS
   ============================================ */
.feya-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--feya-border-radius-full);
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-magic));
    color: var(--feya-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.feya-avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.feya-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.feya-avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.feya-avatar-fairy {
    background: linear-gradient(135deg, var(--feya-fairy), var(--feya-fairy-dark));
}

.feya-avatar-cinderella {
    background: linear-gradient(135deg, var(--feya-cinderella), var(--feya-cinderella-dark));
}

/* ============================================
   EMPTY STATES
   ============================================ */
.feya-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.feya-empty-state-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.feya-empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--feya-white);
    margin-bottom: 0.5rem;
}

.feya-empty-state p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

/* ============================================
   LOADING STATES
   ============================================ */
.feya-loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--feya-border-radius-full);
    border-top-color: var(--feya-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.feya-loading-sm {
    width: 24px;
    height: 24px;
    border-width: 2px;
}

.feya-loading-lg {
    width: 56px;
    height: 56px;
    border-width: 4px;
}

/* Sparkle Animation */
.feya-sparkle {
    position: relative;
}

.feya-sparkle::before,
.feya-sparkle::after {
    content: '✨';
    position: absolute;
    animation: sparkle 2s ease-in-out infinite;
}

.feya-sparkle::before {
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.feya-sparkle::after {
    bottom: -10px;
    right: -10px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* ============================================
   ENCHANTED FOOTER - Dark Magical Glass Design
   Semi-transparent to show animated background
   ============================================ */
.feya-footer {
    background: linear-gradient(
        to top,
        rgba(10, 22, 40, 0.9),
        rgba(13, 31, 53, 0.85)
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    margin-top: 3rem;
    position: relative;
    box-shadow:
        0 -4px 30px rgba(42, 191, 179, 0.1),
        0 -1px 0 rgba(255, 255, 255, 0.1) inset;
}

.feya-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(42, 191, 179, 0.5) 20%,
        rgba(139, 92, 246, 0.6) 50%,
        rgba(42, 191, 179, 0.5) 80%,
        transparent
    );
}

.feya-footer-brand {
    transition: var(--feya-transition);
}

.feya-footer-brand:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

.feya-footer-text {
    color: rgba(255, 255, 255, 0.75);
}

.feya-footer-link {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--feya-transition);
    text-decoration: none;
}

.feya-footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.feya-footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--feya-transition);
}

.feya-footer a:hover {
    color: #ffffff;
}

.feya-social-links {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.feya-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--feya-border-radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
}

.feya-social-link:hover {
    background: rgba(42, 191, 179, 0.3);
    border-color: rgba(42, 191, 179, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(42, 191, 179, 0.4);
}

.feya-footer-social {
    display: flex;
    gap: 1rem;
}

.feya-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--feya-border-radius-full);
    background: rgba(255, 255, 255, 0.15);
    transition: var(--feya-transition);
}

.feya-footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Text Colors */
.feya-text-primary { color: var(--feya-primary) !important; }
.feya-text-fairy { color: var(--feya-fairy) !important; }
.feya-text-cinderella { color: var(--feya-cinderella) !important; }
.feya-text-success { color: var(--feya-success) !important; }
.feya-text-warning { color: var(--feya-warning) !important; }
.feya-text-danger { color: var(--feya-danger) !important; }
.feya-text-muted { color: var(--feya-gray-light) !important; }
.feya-text-white { color: var(--feya-white) !important; }

/* Cursive & Elegant Text Styles */
.feya-text-cursive {
    font-family: var(--feya-font-cursive) !important;
    font-weight: 400;
}
.feya-text-script {
    font-family: var(--feya-font-script) !important;
    font-weight: 500;
}
.feya-text-elegant {
    font-family: var(--feya-font-display) !important;
    font-style: italic;
}
.feya-text-accent {
    font-family: var(--feya-font-accent) !important;
    font-style: italic;
}

/* Page Titles with Cursive Styling */
.feya-page-title {
    font-family: var(--feya-font-script);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--feya-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feya-page-subtitle {
    font-family: var(--feya-font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Headers with Cursive */
.feya-section-title {
    font-family: var(--feya-font-script);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--feya-white);
    margin-bottom: 1rem;
}

/* Stat Card Titles */
.feya-stat-card h3,
.feya-stat-card .feya-stat-title {
    font-family: var(--feya-font-script);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Background Colors */
.feya-bg-primary { background: var(--feya-primary) !important; }
.feya-bg-fairy { background: var(--feya-fairy) !important; }
.feya-bg-cinderella { background: var(--feya-cinderella) !important; }
.feya-bg-glass { background: rgba(255, 255, 255, 0.1) !important; backdrop-filter: blur(10px); }

/* Gradients */
.feya-gradient-primary { background: linear-gradient(135deg, var(--feya-primary), var(--feya-magic)) !important; }
.feya-gradient-fairy { background: linear-gradient(135deg, var(--feya-fairy), var(--feya-fairy-dark)) !important; }
.feya-gradient-cinderella { background: linear-gradient(135deg, var(--feya-cinderella), var(--feya-cinderella-dark)) !important; }

/* Shadows */
.feya-shadow { box-shadow: var(--feya-shadow) !important; }
.feya-shadow-md { box-shadow: var(--feya-shadow-md) !important; }
.feya-shadow-lg { box-shadow: var(--feya-shadow-lg) !important; }
.feya-shadow-glow { box-shadow: var(--feya-shadow-glow) !important; }

/* Border Radius */
.feya-rounded { border-radius: var(--feya-border-radius) !important; }
.feya-rounded-lg { border-radius: var(--feya-border-radius-lg) !important; }
.feya-rounded-xl { border-radius: var(--feya-border-radius-xl) !important; }
.feya-rounded-full { border-radius: var(--feya-border-radius-full) !important; }

/* Transitions */
.feya-transition { transition: var(--feya-transition) !important; }

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 767.98px) {
    .feya-hero-title {
        font-size: 2rem;
    }

    .feya-hero-subtitle {
        font-size: 1rem;
    }

    .feya-stat-value {
        font-size: 2rem;
    }

    .feya-btn-xl {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.feya-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feya-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.feya-scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Float animation for magical elements */
.feya-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation */
.feya-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   AUTHENTICATION PAGES - Login/Register
   Dark Magical Theme
   ============================================ */
.feya-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.feya-auth-card {
    background: linear-gradient(
        135deg,
        rgba(11, 26, 43, 0.95) 0%,
        rgba(17, 34, 64, 0.92) 50%,
        rgba(11, 26, 43, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--feya-border-radius-xl);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(42, 191, 179, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 191, 179, 0.2);
}

.feya-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(42, 191, 179, 0.5) 50%,
        transparent 100%
    );
}

.feya-auth-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(42, 191, 179, 0.05),
        transparent,
        rgba(212, 175, 55, 0.05),
        transparent
    );
    animation: authShimmer 15s linear infinite;
    pointer-events: none;
}

@keyframes authShimmer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feya-auth-card .card-content {
    position: relative;
    z-index: 2;
}

.feya-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feya-auth-logo {
    margin-bottom: 1.5rem;
}

.feya-auth-title {
    font-family: var(--feya-font-cursive);
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(42, 191, 179, 0.4);
}

.feya-auth-subtitle {
    font-family: var(--feya-font-accent);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Form Styles for Auth Pages - Dark Theme */
.feya-auth-card .form-floating {
    margin-bottom: 1.25rem;
    position: relative;
}

/* Input fields with proper padding for floating labels */
.feya-auth-card .form-floating > .form-control,
.feya-auth-card .form-floating > .form-select {
    background: rgba(17, 34, 64, 0.9) !important;
    border: 1px solid rgba(42, 191, 179, 0.3);
    border-radius: var(--feya-border-radius);
    padding: 1.625rem 1rem 0.625rem 1rem;
    height: 3.75rem;
    font-size: 1rem;
    transition: var(--feya-transition);
    color: #ffffff !important;
}

/* Non-floating inputs */
.feya-auth-card .form-control:not(.form-floating > .form-control),
.feya-auth-card .form-select:not(.form-floating > .form-select) {
    background: rgba(17, 34, 64, 0.9) !important;
    border: 1px solid rgba(42, 191, 179, 0.3);
    border-radius: var(--feya-border-radius);
    padding: 1rem;
    height: 3.5rem;
    font-size: 1rem;
    transition: var(--feya-transition);
    color: #ffffff !important;
}

/* Override browser autofill styles */
.feya-auth-card .form-control:-webkit-autofill,
.feya-auth-card .form-control:-webkit-autofill:hover,
.feya-auth-card .form-control:-webkit-autofill:focus,
.feya-auth-card .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(17, 34, 64, 0.95) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(17, 34, 64, 0.95) !important;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

/* Hide placeholder - label will serve as placeholder */
.feya-auth-card .form-floating > .form-control::placeholder {
    color: transparent;
}

/* Focus state */
.feya-auth-card .form-floating > .form-control:focus,
.feya-auth-card .form-floating > .form-select:focus {
    background: rgba(27, 58, 90, 0.95) !important;
    border-color: rgba(42, 191, 179, 0.6);
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.15), 0 0 20px rgba(42, 191, 179, 0.1);
    outline: none;
    color: #ffffff !important;
}

/* Floating label - default state (acts as placeholder) */
.feya-auth-card .form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.125rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--feya-font-body);
    font-size: 1rem;
}

/* Floating label - floated state (when focused, has value, or autofilled) */
.feya-auth-card .form-floating > .form-control:focus ~ label,
.feya-auth-card .form-floating > .form-control:not(:placeholder-shown) ~ label,
.feya-auth-card .form-floating > .form-control:-webkit-autofill ~ label,
.feya-auth-card .form-floating > .form-select ~ label {
    color: #2ABFB3;
    transform: scale(0.8) translateY(-0.5rem) translateX(0.1rem);
    padding: 0.5rem 1rem;
    opacity: 1;
}

/* Form select dropdown styling */
.feya-auth-card .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%232ABFB3' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
}

.feya-auth-card .form-select option {
    background: #112240;
    color: #ffffff;
}

/* Checkbox styling */
.feya-auth-card .form-check-input {
    background-color: rgba(17, 34, 64, 0.8);
    border-color: rgba(42, 191, 179, 0.3);
}

.feya-auth-card .form-check-input:checked {
    background-color: #2ABFB3;
    border-color: #2ABFB3;
}

.feya-auth-card .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.2);
    border-color: rgba(42, 191, 179, 0.5);
}

.feya-auth-card .form-check-label {
    color: rgba(255, 255, 255, 0.85);
}

/* Auth Submit Button - Teal Gradient */
.feya-auth-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--feya-font-body);
    border: 1px solid rgba(42, 191, 179, 0.3);
    border-radius: var(--feya-border-radius);
    background: linear-gradient(135deg, #2ABFB3, #1a8f86);
    color: #0B1A2B;
    cursor: pointer;
    transition: var(--feya-transition);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.feya-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.feya-auth-btn:hover::before {
    left: 100%;
}

.feya-auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(42, 191, 179, 0.4);
    background: linear-gradient(135deg, #5CD4C9, #2ABFB3);
}

.feya-auth-btn:active {
    transform: translateY(-1px);
}

/* Auth Links - Dark Theme */
.feya-auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.feya-auth-links a {
    color: #2ABFB3;
    text-decoration: none;
    font-weight: 500;
    transition: var(--feya-transition);
}

.feya-auth-links a:hover {
    color: #5CD4C9;
    text-shadow: 0 0 10px rgba(42, 191, 179, 0.4);
}

.feya-auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.5);
}

.feya-auth-divider::before,
.feya-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(42, 191, 179, 0.2);
}

.feya-auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* Outline button for auth pages */
.feya-auth-card .feya-btn-outline {
    background: transparent;
    border: 1px solid rgba(42, 191, 179, 0.4);
    color: #2ABFB3;
}

.feya-auth-card .feya-btn-outline:hover {
    background: rgba(42, 191, 179, 0.1);
    border-color: #2ABFB3;
    color: #5CD4C9;
}

/* Override Bootstrap login styles */
section.h-100.p-3.bg-light.border.rounded-3 {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: var(--feya-border-radius-xl) !important;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    padding: 2.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    max-width: 450px;
    margin: 2rem auto;
}

section.h-100.p-3.bg-light.border.rounded-3 h1 {
    font-family: var(--feya-font-cursive) !important;
    font-size: 2.2rem !important;
    color: var(--feya-dark) !important;
    margin-bottom: 0.5rem !important;
}

section.h-100.p-3.bg-light.border.rounded-3 .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--feya-border);
    border-radius: var(--feya-border-radius);
    transition: var(--feya-transition);
}

section.h-100.p-3.bg-light.border.rounded-3 .form-control:focus {
    background: var(--feya-white);
    border-color: var(--feya-magic);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.1);
}

section.h-100.p-3.bg-light.border.rounded-3 .btn-primary {
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-magic)) !important;
    border: none !important;
    border-radius: var(--feya-border-radius) !important;
    font-weight: 600;
    transition: var(--feya-transition);
}

section.h-100.p-3.bg-light.border.rounded-3 .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

/* Sparkle Decorations for Auth Pages */
.feya-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.feya-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--feya-sparkle);
    border-radius: 50%;
    animation: sparkleFloat 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--feya-sparkle), 0 0 20px var(--feya-sparkle);
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* ============================================
   MAIN CONTENT AREA IMPROVEMENTS
   ============================================ */
.feya-main-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: calc(100vh - 250px);
}

/* Glass morphism cards for content areas */
.feya-card-glass-dark {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--feya-border-radius-xl);
    box-shadow: var(--feya-shadow-lg);
    color: var(--feya-white);
}

/* Form container improvements */
.feya-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--feya-border-radius-xl);
    box-shadow: var(--feya-shadow-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.feya-form-container h1,
.feya-form-container h2,
.feya-form-container h3 {
    font-family: var(--feya-font-cursive);
    color: var(--feya-dark);
}

/* ============================================
   MAGICAL PARTICLES BACKGROUND
   ============================================ */
.feya-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.feya-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(252, 211, 77, 0.6);
    border-radius: 50%;
    animation: particleRise 15s linear infinite;
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.5);
}

@keyframes particleRise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ============================================
   ENCHANTED DROPDOWN MENU - Dark Magical Glass
   ============================================ */
.feya-dropdown {
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(13, 31, 53, 0.95) 50%,
        rgba(10, 22, 40, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--feya-border-radius-lg);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(42, 191, 179, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.5rem;
}

.feya-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: rgba(10, 22, 40, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
}

.feya-dropdown .dropdown-item {
    border-radius: var(--feya-border-radius);
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.feya-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(42, 191, 179, 0.25), rgba(139, 92, 246, 0.2));
    color: #ffffff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(42, 191, 179, 0.5);
}

.feya-dropdown .dropdown-item:active {
    background: rgba(42, 191, 179, 0.3);
}

.feya-dropdown .dropdown-item i {
    color: rgba(42, 191, 179, 0.9);
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.feya-dropdown .dropdown-item:hover i {
    color: var(--feya-primary-light);
    transform: scale(1.1);
}

.feya-dropdown .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

/* ============================================
   ROLE BADGE - Navbar Badge
   ============================================ */
.feya-badge-nav {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feya-badge-admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2)) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #FCA5A5 !important;
}

/* ============================================
   SWEETALERT2 - Custom Dark Theme
   ============================================ */
.swal2-popup {
    background: linear-gradient(135deg, #0a1628 0%, #112240 50%, #0d1d35 100%) !important;
    border: 1px solid rgba(42, 191, 179, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(42, 191, 179, 0.15) !important;
}

.swal2-title {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

.swal2-html-container,
.swal2-content {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Icon Colors */
.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-success {
    border-color: #2ABFB3 !important;
    color: #2ABFB3 !important;
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: #2ABFB3 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(42, 191, 179, 0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

/* Confirm Button - Magic Gradient */
.swal2-confirm {
    background: linear-gradient(135deg, #2ABFB3 0%, #22a89d 50%, #1a9388 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(42, 191, 179, 0.3) !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background: linear-gradient(135deg, #33d4c7 0%, #2ABFB3 50%, #22a89d 100%) !important;
    box-shadow: 0 6px 20px rgba(42, 191, 179, 0.4) !important;
    transform: translateY(-2px) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.3) !important;
}

/* Cancel Button - Outline Style */
.swal2-cancel {
    background: transparent !important;
    border: 2px solid rgba(239, 68, 68, 0.5) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #ef4444 !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444 !important;
    transform: translateY(-2px) !important;
}

/* Deny Button */
.swal2-deny {
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    border-radius: 12px !important;
    color: #FCA5A5 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

/* Backdrop */
.swal2-backdrop-show {
    background: rgba(10, 22, 40, 0.85) !important;
    backdrop-filter: blur(4px) !important;
}

/* Input Fields in SweetAlert */
.swal2-input,
.swal2-textarea,
.swal2-select {
    background: rgba(17, 34, 64, 0.8) !important;
    border: 1px solid rgba(42, 191, 179, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: #2ABFB3 !important;
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.2) !important;
}

/* Timer Progress Bar */
.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #2ABFB3, #22a89d) !important;
}

/* Close Button */
.swal2-close {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}

.swal2-close:hover {
    color: #2ABFB3 !important;
    transform: rotate(90deg) !important;
}

/* Footer */
.swal2-footer {
    border-top: 1px solid rgba(42, 191, 179, 0.2) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.swal2-footer a {
    color: #2ABFB3 !important;
}

/* ============================================
   DARK TABLE STYLING
   ============================================ */
.table {
    --bs-table-color: #ffffff;
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(42, 191, 179, 0.2);
    --bs-table-striped-bg: rgba(17, 34, 64, 0.4);
    --bs-table-striped-color: #ffffff;
    --bs-table-active-bg: rgba(42, 191, 179, 0.2);
    --bs-table-active-color: #ffffff;
    --bs-table-hover-bg: rgba(42, 191, 179, 0.15);
    --bs-table-hover-color: #ffffff;
    color: #ffffff;
    border-color: rgba(42, 191, 179, 0.2);
}

.table > thead {
    background: rgba(17, 34, 64, 0.9);
}

.table > thead > tr > th {
    background: rgba(17, 34, 64, 0.9) !important;
    color: #ffffff !important;
    border-bottom: 2px solid rgba(42, 191, 179, 0.4) !important;
    padding: 1rem;
    font-weight: 600;
}

.table > tbody > tr > td {
    background: rgba(17, 34, 64, 0.5) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(42, 191, 179, 0.15) !important;
    padding: 1rem;
    vertical-align: middle;
}

.table > tbody > tr:hover > td {
    background: rgba(42, 191, 179, 0.2) !important;
    color: #ffffff !important;
}

.table .table-group-divider {
    border-color: rgba(42, 191, 179, 0.3) !important;
}

.table .text-muted,
.table .form-text,
.table small {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Fairy name in status column */
.fairy-name {
    display: block;
    font-size: 0.8rem;
    color: #D4A84B !important;
    margin-top: 0.25rem;
}

.fairy-name i {
    color: #D4A84B;
}

/* Dark Modal Theme */
.modal-content {
    background: linear-gradient(135deg, #0a1628 0%, #112240 50%, #0d1d35 100%) !important;
    border: 1px solid rgba(42, 191, 179, 0.3) !important;
    color: #ffffff !important;
}

.modal-header {
    border-bottom: 1px solid rgba(42, 191, 179, 0.2) !important;
}

.modal-header .modal-title {
    color: #ffffff !important;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
    color: #ffffff !important;
}

.modal-body p,
.modal-body h4,
.modal-body span {
    color: #ffffff !important;
}

.modal-body .form-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.modal-body hr {
    border-color: rgba(42, 191, 179, 0.3) !important;
}

.modal-footer {
    border-top: 1px solid rgba(42, 191, 179, 0.2) !important;
}

/* ============================================
   FLOATING ACTION BUTTON (FAB)
   ============================================ */
.feya-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--feya-border-radius-full);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feya-fab-admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.95));
    color: white;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.feya-fab-admin:hover {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.95), rgba(239, 68, 68, 0.95));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.feya-fab-admin:active {
    transform: translateY(-1px);
}

/* Fairy & Cinderella FAB variants */
.feya-fab-fairy {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(180, 83, 9, 0.95));
    color: white;
    border: 1px solid rgba(255, 200, 100, 0.3);
}

.feya-fab-fairy:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.95));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.feya-fab-cinderella {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.95));
    color: white;
    border: 1px solid rgba(100, 180, 255, 0.3);
}

.feya-fab-cinderella:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(59, 130, 246, 0.95));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* ============================================
   BOOTSTRAP OVERRIDES - Dark Elegant Theme
   ============================================ */

/* Bootstrap Cards */
.card {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 191, 179, 0.2);
    border-radius: var(--feya-border-radius-lg);
    color: var(--feya-white);
}

.card-header {
    background: rgba(17, 34, 64, 0.5);
    border-bottom: 1px solid rgba(42, 191, 179, 0.15);
    color: var(--feya-white);
}

.card-body {
    color: rgba(255, 255, 255, 0.9);
}

.card-footer {
    background: rgba(17, 34, 64, 0.5);
    border-top: 1px solid rgba(42, 191, 179, 0.15);
}

/* Bootstrap Alerts - Dark Elegant Style */
.alert {
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--feya-border-radius-lg);
    color: var(--feya-white);
}

.alert-info {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(42, 191, 179, 0.3);
    border-left: 4px solid var(--feya-primary);
    color: rgba(255, 255, 255, 0.9);
}

.alert-warning {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-left: 4px solid #C9A962;
    color: rgba(255, 255, 255, 0.9);
}

.alert-success {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-left: 4px solid var(--feya-success);
    color: rgba(255, 255, 255, 0.9);
}

.alert-danger {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid var(--feya-danger);
    color: rgba(255, 255, 255, 0.9);
}

.alert a {
    color: var(--feya-primary);
    text-decoration: none;
}

.alert a:hover {
    color: var(--feya-primary-light);
    text-decoration: underline;
}

/* Bootstrap Tables */
.table {
    color: var(--feya-white);
}

.table thead th {
    background: rgba(17, 34, 64, 0.5);
    color: var(--feya-white);
    border-bottom: 2px solid rgba(42, 191, 179, 0.2);
}

.table tbody td {
    border-color: rgba(255, 255, 255, 0.1);
}

.table-hover tbody tr:hover {
    background: rgba(42, 191, 179, 0.05);
}

/* Bootstrap Form Controls */
.form-control,
.form-select {
    background: rgba(17, 34, 64, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--feya-white);
}

.form-control:focus,
.form-select:focus {
    background: rgba(27, 58, 90, 0.9);
    border-color: rgba(42, 191, 179, 0.5);
    box-shadow: 0 0 0 3px rgba(42, 191, 179, 0.15);
    color: var(--feya-white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Bootstrap Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--feya-primary), var(--feya-primary-dark));
    border-color: rgba(42, 191, 179, 0.3);
    color: #0B1A2B;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--feya-primary-light), var(--feya-primary));
    border-color: var(--feya-primary);
    color: #0B1A2B;
    box-shadow: 0 0 20px rgba(42, 191, 179, 0.4);
}

.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--feya-white);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--feya-white);
}

/* Text Colors */
.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Override .text-dark for dark theme - ensure visibility on dark backgrounds */
.feya-main-content .text-dark,
.feya-background .text-dark,
body .text-dark {
    color: var(--feya-gray-light) !important;
}

/* Form Labels - ensure they are visible on dark theme */
.feya-main-content .form-label,
.feya-background .form-label,
body .form-label,
.card .form-label {
    color: var(--feya-gray-light) !important;
    font-weight: 500;
}

/* Make form labels more prominent when needed */
.feya-main-content .form-label.fw-semibold,
.feya-background .form-label.fw-semibold,
.card .form-label.fw-semibold {
    color: var(--feya-white) !important;
    font-weight: 600;
}

/* Form Check Labels (checkboxes/radios) - ensure visibility */
.feya-main-content .form-check-label,
.feya-background .form-check-label,
.card .form-check-label {
    color: var(--feya-gray-light) !important;
}

.feya-main-content .form-check-label.fw-semibold,
.feya-background .form-check-label.fw-semibold,
.card .form-check-label.fw-semibold,
.card .form-check-label.text-dark {
    color: var(--feya-white) !important;
}

/* Links */
a {
    color: var(--feya-primary);
}

a:hover {
    color: var(--feya-primary-light);
}

/* Page Content Text */
.feya-main-content h1,
.feya-main-content h2,
.feya-main-content h3,
.feya-main-content h4,
.feya-main-content h5,
.feya-main-content h6 {
    color: var(--feya-white);
}

.feya-main-content p {
    color: rgba(255, 255, 255, 0.85);
}

/* List Groups */
.list-group-item {
    background: rgba(10, 22, 40, 0.6);
    border-color: rgba(42, 191, 179, 0.15);
    color: var(--feya-white);
}

.list-group-item:hover {
    background: rgba(42, 191, 179, 0.1);
}

/* Modal Overrides */
.modal-content {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 191, 179, 0.2);
    color: var(--feya-white);
}

.modal-header {
    border-bottom: 1px solid rgba(42, 191, 179, 0.15);
}

.modal-footer {
    border-top: 1px solid rgba(42, 191, 179, 0.15);
}

.btn-close {
    filter: invert(1);
}

/* ============================================
   RECAPTCHA STYLING - Dark Theme
   ============================================ */
.feya-recaptcha-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

/* Container styling */
.feya-recaptcha-wrapper .g-recaptcha,
.feya-recaptcha-wrapper > div {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Make reCAPTCHA blend better with dark theme */
.feya-recaptcha-wrapper iframe {
    border-radius: 12px;
}

/* Style the reCAPTCHA container */
.feya-auth-card .feya-recaptcha-wrapper {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(42, 191, 179, 0.2);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dark theme overlay effect using CSS filter */
.feya-recaptcha-wrapper .g-recaptcha {
    filter:
        brightness(0.95)
        contrast(1.05);
    transition: all 0.3s ease;
}

.feya-recaptcha-wrapper:hover .g-recaptcha {
    filter:
        brightness(1)
        contrast(1.05);
}

/* Custom styling for better integration */
.feya-recaptcha-wrapper::before {
    content: none;
}

/* Error message styling */
.feya-recaptcha-wrapper + .text-danger,
.feya-recaptcha-wrapper .text-danger {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Alternative: Apply dark invert for true dark mode (optional - uncomment if desired) */
/*
.feya-recaptcha-wrapper .g-recaptcha {
    filter: invert(0.9) hue-rotate(180deg);
}
*/

/* Responsive adjustments */
@media (max-width: 400px) {
    .feya-recaptcha-wrapper {
        transform: scale(0.9);
        transform-origin: center;
    }

    .feya-auth-card .feya-recaptcha-wrapper {
        padding: 0.75rem 0.5rem;
    }
}
