/* Modern Ahia Marketplace Styling - Pure White & Black Theme */
:root {
    /* Primary Colors - Black & White Only */
    --primary-color: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #2d2d2d;
    
    /* Secondary Colors - White & Gray */
    --secondary-color: #FFFFFF;
    --secondary-dark: #F5F5F5;
    --secondary-light: #FAFAFA;
    
    /* Accent Colors - Gray Variations */
    --accent-color: #333333;
    --accent-dark: #000000;
    --accent-light: #4a4a4a;
    
    /* Neutral Colors - Pure White & Black */
    --text-primary: #000000;
    --text-secondary: #4a4a4a;
    --text-light: #6a6a6a;
    --background: #ffffff;
    --background-alt: #f5f5f5;
    --background-dark: #000000;
    --border-color: #000000;
    --border-light: #e0e0e0;
    
    /* Glass effect colors - Pure White & Black */
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(0, 0, 0, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-header-bg: rgba(255, 255, 255, 0.96);
    --glass-card-bg: rgba(255, 255, 255, 0.95);
    
    /* Status Colors - Black & White only */
    --success-color: #000000;
    --warning-color: #4a4a4a;
    --error-color: #000000;
    --info-color: #2d2d2d;
    
    /* Accent Colors for Menu */
    --gold-color: #FFD700;
    --gold-dark: #DAA520;
    --gold-light: #FFEC8B;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    
    /* PWA Safe Areas */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Typography - Enhanced font sizes for better visibility */
    --font-size-xs: 0.875rem;    /* Increased from 0.75rem */
    --font-size-sm: 1rem;        /* Increased from 0.875rem */
    --font-size-base: 1.125rem;  /* Increased from 1rem */
    --font-size-lg: 1.25rem;     /* Increased from 1.125rem */
    --font-size-xl: 1.375rem;    /* Increased from 1.25rem */
    --font-size-2xl: 1.625rem;   /* Increased from 1.5rem */
    --font-size-3xl: 2rem;       /* Increased from 1.875rem */
    --font-size-4xl: 2.5rem;     /* Increased from 2.25rem */
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    /* Ahia Marketplace - Diverse Product Categories Background */
    background: 
        /* Dynamic overlay with White and Black */
        linear-gradient(
            135deg, 
            rgba(255, 255, 255, 0.96) 0%, 
            rgba(0, 0, 0, 0.04) 25%, 
            rgba(255, 255, 255, 0.92) 50%, 
            rgba(0, 0, 0, 0.02) 75%, 
            rgba(255, 255, 255, 0.96) 100%
        ),
        /* Electronics - Smartphones, laptops, gadgets */
        linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)),
        url('https://images.unsplash.com/photo-1498049794561-7780e7231661?w=500'),
        
        /* Fashion & Clothing - Colorful apparel displays */
        linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)),
        url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=500'),
        
        /* Automotive - Cars, parts, accessories */
        linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)),
        url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=500'),
        
        /* Hair & Beauty - Salon products, wigs, hair extensions */
        linear-gradient(rgba(255,255,255,0.14), rgba(255,255,255,0.14)),
        url('https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=500'),
        
        /* Home & Kitchen - Furniture, appliances */
        linear-gradient(rgba(255,255,255,0.16), rgba(255,255,255,0.16)),
        url('https://images.unsplash.com/photo-1556911220-bff31c812dba?w=500'),
        
        /* Sports & Fitness - Equipment, apparel */
        linear-gradient(rgba(255,255,255,0.13), rgba(255,255,255,0.13)),
        url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=500'),
        
        /* Books & Media - Literature, entertainment */
        linear-gradient(rgba(255,255,255,0.17), rgba(255,255,255,0.17)),
        url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=500'),
        
        /* Groceries & Food - Fresh produce, packaged goods */
        linear-gradient(rgba(255,255,255,0.11), rgba(255,255,255,0.11)),
        url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=500'),
        
        /* Jewelry & Accessories - Watches, accessories */
        linear-gradient(rgba(255,255,255,0.19), rgba(255,255,255,0.19)),
        url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?w=500'),
        
        /* Baby & Kids - Toys, clothing, accessories */
        linear-gradient(rgba(255,255,255,0.10), rgba(255,255,255,0.10)),
        url('https://images.unsplash.com/photo-1515488764276-beab7607c1e6?w=500'),
        
        /* Pure White gradient fallback */
        linear-gradient(135deg, 
            #FFFFFF 0%,
            #F8F8F8 25%,
            #FFFFFF 50%,
            #F5F5F5 75%,
            #FFFFFF 100%
        );
    
    /* Strategic positioning for diverse product showcase */
    background-position: 
        center center,                    /* Main overlay */
        0% 0%,                           /* Overlay 1 */
        15% 15%,                         /* Electronics - top-left */
        0% 0%,                           /* Overlay 2 */
        85% 15%,                         /* Fashion - top-right */
        0% 0%,                           /* Overlay 3 */
        15% 50%,                         /* Automotive - middle-left */
        0% 0%,                           /* Overlay 4 */
        50% 20%,                         /* Hair & Beauty - top-center */
        0% 0%,                           /* Overlay 5 */
        85% 50%,                         /* Home & Kitchen - middle-right */
        0% 0%,                           /* Overlay 6 */
        50% 80%,                         /* Sports - bottom-center */
        0% 0%,                           /* Overlay 7 */
        15% 85%,                         /* Books - bottom-left */
        0% 0%,                           /* Overlay 8 */
        85% 85%,                         /* Groceries - bottom-right */
        0% 0%,                           /* Overlay 9 */
        50% 50%,                         /* Jewelry - center */
        0% 0%,                           /* Overlay 10 */
        30% 65%,                         /* Baby & Kids - lower-left */
        center center;                    /* Fallback gradient */
    
    /* Balanced sizing for product category visibility */
    background-size: 
        100% 100%,                       /* Main overlay */
        100% 100%,                       /* Overlay 1 */
        45% 45%,                         /* Electronics */
        100% 100%,                       /* Overlay 2 */
        48% 48%,                         /* Fashion */
        100% 100%,                       /* Overlay 3 */
        42% 42%,                         /* Automotive */
        100% 100%,                       /* Overlay 4 */
        40% 40%,                         /* Hair & Beauty */
        100% 100%,                       /* Overlay 5 */
        46% 46%,                         /* Home & Kitchen */
        100% 100%,                       /* Overlay 6 */
        38% 38%,                         /* Sports */
        100% 100%,                       /* Overlay 7 */
        35% 35%,                         /* Books */
        100% 100%,                       /* Overlay 8 */
        44% 44%,                         /* Groceries */
        100% 100%,                       /* Overlay 9 */
        32% 32%,                         /* Jewelry */
        100% 100%,                       /* Overlay 10 */
        36% 36%,                         /* Baby & Kids */
        100% 100%;                       /* Fallback gradient */
    
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-size: var(--font-size-base);
    min-height: 100vh;
    position: relative;
    animation: ahiaDiverseMarketplace 30s ease-in-out infinite;
}

@keyframes ahiaDiverseMarketplace {
    0%, 100% { 
        filter: brightness(1.02) saturate(1.15) contrast(1.03);
        background-position: 
            center center,
            0% 0%, 15% 15%,    /* Electronics */
            0% 0%, 85% 15%,    /* Fashion */
            0% 0%, 15% 50%,    /* Automotive */
            0% 0%, 50% 20%,    /* Hair & Beauty */
            0% 0%, 85% 50%,    /* Home & Kitchen */
            0% 0%, 50% 80%,    /* Sports */
            0% 0%, 15% 85%,    /* Books */
            0% 0%, 85% 85%,    /* Groceries */
            0% 0%, 50% 50%,    /* Jewelry */
            0% 0%, 30% 65%,    /* Baby & Kids */
            center center;
    }
    20% { 
        filter: brightness(1.05) saturate(1.2) contrast(1.05);
        background-position: 
            center center,
            0% 0%, 20% 18%,
            0% 0%, 80% 18%,
            0% 0%, 18% 48%,
            0% 0%, 55% 22%,
            0% 0%, 82% 52%,
            0% 0%, 52% 78%,
            0% 0%, 18% 82%,
            0% 0%, 82% 82%,
            0% 0%, 48% 48%,
            0% 0%, 32% 68%,
            center center;
    }
    40% { 
        filter: brightness(1.08) saturate(1.25) contrast(1.08);
        background-position: 
            center center,
            0% 0%, 25% 20%,
            0% 0%, 75% 20%,
            0% 0%, 20% 45%,
            0% 0%, 60% 25%,
            0% 0%, 80% 55%,
            0% 0%, 55% 75%,
            0% 0%, 20% 80%,
            0% 0%, 80% 80%,
            0% 0%, 45% 45%,
            0% 0%, 35% 70%,
            center center;
    }
    60% { 
        filter: brightness(1.05) saturate(1.2) contrast(1.05);
        background-position: 
            center center,
            0% 0%, 20% 18%,
            0% 0%, 80% 18%,
            0% 0%, 18% 48%,
            0% 0%, 55% 22%,
            0% 0%, 82% 52%,
            0% 0%, 52% 78%,
            0% 0%, 18% 82%,
            0% 0%, 82% 82%,
            0% 0%, 52% 52%,
            0% 0%, 28% 62%,
            center center;
    }
    80% { 
        filter: brightness(1.03) saturate(1.18) contrast(1.04);
        background-position: 
            center center,
            0% 0%, 18% 16%,
            0% 0%, 82% 16%,
            0% 0%, 16% 49%,
            0% 0%, 52% 21%,
            0% 0%, 84% 51%,
            0% 0%, 51% 79%,
            0% 0%, 16% 84%,
            0% 0%, 84% 84%,
            0% 0%, 51% 51%,
            0% 0%, 31% 66%,
            center center;
    }
}

/* Enhanced market atmosphere overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Subtle market activity simulation */
        radial-gradient(circle at 25% 25%, rgba(255, 193, 7, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 25%, rgba(40, 167, 69, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(220, 53, 69, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 133, 27, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 135, 81, 0.04) 0%, transparent 50%),
        /* Market energy dots */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="25" r="1.2" fill="rgba(255,193,7,0.4)"/><circle cx="85" cy="25" r="1" fill="rgba(40,167,69,0.4)"/><circle cx="15" cy="75" r="1.1" fill="rgba(220,53,69,0.4)"/><circle cx="85" cy="75" r="1.3" fill="rgba(255,133,27,0.4)"/><circle cx="50" cy="50" r="0.9" fill="rgba(0,135,81,0.4)"/></svg>');
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
    animation: marketAtmosphere 20s ease-in-out infinite;
}

@keyframes marketAtmosphere {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1) rotate(0deg);
    }
    33% { 
        opacity: 0.5; 
        transform: scale(1.02) rotate(1deg);
    }
    66% { 
        opacity: 0.9; 
        transform: scale(0.98) rotate(-1deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Premium Header for Market Collage Background */
.main-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    text-decoration: none;
}

.brand-icon {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    background: linear-gradient(135deg, #000000, #4a4a4a, #FFFFFF, #2d2d2d, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
    animation: ahiaBrandPulse 4s ease-in-out infinite;
}

.brand-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #000000, #FFFFFF, #2d2d2d, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    background-size: 500% 500%;
    animation: ahiaMarketGradient 15s ease infinite;
}

@keyframes ahiaMarketGradient {
    0% { background-position: 0% 50%; }
    20% { background-position: 25% 25%; }
    40% { background-position: 75% 75%; }
    60% { background-position: 100% 50%; }
    80% { background-position: 50% 25%; }
    100% { background-position: 0% 50%; }
}

@keyframes ahiaBrandPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5)); }
}

.brand-subtitle {
    font-size: var(--font-size-sm);
    color: #E0E0E0;
    font-weight: 500;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Hide text labels on desktop for icon buttons */
.nav-link .nav-text {
    display: none;
}

@media (max-width: 768px) {
    .nav-link .nav-text {
        display: inline;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #FFFFFF;
}

.nav-link.admin-link {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.seller-link {
    background: linear-gradient(135deg, #FFFFFF, #F5F5F5);
    color: #000000;
    border: 2px solid rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.nav-link.sell-link,
.nav-link.sell-cta {
    background: linear-gradient(135deg, #000000, #2d2d2d);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.nav-link.login-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.register-btn {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: var(--radius-sm);
    margin: 0.25rem;
}

.dropdown-item:hover {
    background-color: var(--background-alt);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(
        to bottom,
        #000000 0%, #000000 20%,
        var(--gold-color) 20%, var(--gold-color) 25%,
        #000000 25%, #000000 45%,
        var(--gold-color) 45%, var(--gold-color) 50%,
        #000000 50%, #000000 70%,
        var(--gold-color) 70%, var(--gold-color) 75%,
        #000000 75%, #000000 100%
    );
    color: white;
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 215, 0, 0.5);
    border-color: var(--gold-light);
}

.mobile-menu-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Main Content with Glass Frame */
.main-content {
    min-height: calc(100vh - 200px);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Subtle enhancement overlays that complement the market collage */
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(40, 167, 69, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 133, 27, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 135, 81, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Premium Content Cards for Market Collage */
.content-card {
    background: var(--glass-card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: 
        var(--shadow-glass),
        0 12px 48px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

/* Enhanced Flash Messages */
.flash-messages {
    margin-bottom: var(--spacing-xl);
}

.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border: 2px solid #000000;
    font-weight: 600;
}

.alert-error {
    background: rgba(0, 0, 0, 0.9);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    font-weight: 600;
}

.alert-warning {
    background: rgba(245, 245, 245, 0.95);
    color: #000000;
    border: 2px solid #4a4a4a;
    font-weight: 600;
}

.alert-info {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border: 2px solid #2d2d2d;
    font-weight: 600;
}

.alert-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    cursor: pointer;
    opacity: 0.7;
}

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

/* Enhanced Buttons with Glass Effect */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    line-height: 1;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #FFFFFF;
    border: 2px solid #000000;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: rgba(245, 245, 245, 1);
    color: #000000;
    border: 2px solid #1a1a1a;
}

.btn-success {
    background: linear-gradient(135deg, #000000, #2d2d2d);
    color: #FFFFFF;
    border: 2px solid #000000;
    font-weight: 700;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #FFFFFF, #F5F5F5);
    color: #000000;
    border: 2px solid #4a4a4a;
    font-weight: 700;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #F5F5F5, #E0E0E0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    font-weight: 700;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.btn-info {
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    font-weight: 700;
}

.btn-info:hover {
    background: linear-gradient(135deg, #4a4a4a, #6a6a6a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

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

/* Cards */
.card {
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-alt);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-alt);
}

/* Enhanced Forms with Better Visibility */
.form-group {
    margin-bottom: 2rem; /* Increased spacing */
}

.form-label {
    display: block;
    margin-bottom: 0.75rem; /* Increased margin */
    font-weight: 600; /* Bolder font weight */
    font-size: var(--font-size-lg); /* Larger label text */
    color: var(--text-primary);
    letter-spacing: 0.025em; /* Better letter spacing */
}

.form-control {
    width: 100%;
    padding: 1.125rem 1.25rem; /* Increased padding for better touch targets */
    font-size: var(--font-size-lg); /* Larger input text */
    font-weight: 500; /* Slightly bolder input text */
    line-height: 1.5;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background-color: var(--background);
    color: var(--text-primary); /* Explicit text color for mobile visibility */
    box-shadow: var(--shadow-sm); /* Subtle shadow for depth */
    -webkit-text-fill-color: var(--text-primary); /* iOS Safari fix */
    opacity: 1; /* Fix for iOS Safari */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15), var(--shadow-md); /* Enhanced focus shadow */
    /* Removed transform to fix mobile text rendering issues */
}

.form-control:hover:not(:focus) {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

/* Enhanced Button Styles for Forms */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem; /* Increased padding */
    font-size: var(--font-size-lg); /* Larger button text */
    font-weight: 600; /* Bolder text */
    line-height: 1.5;
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px; /* Better touch target */
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0369a1 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #047857 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Form Validation Styles */
.form-control.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.form-control.is-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Enhanced Select Dropdowns */
select.form-control {
    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 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

/* Textarea Specific Styles */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Checkbox and Radio Styles */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

/* Help Text */
.form-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Required Field Indicator */
.required::after {
    content: " *";
    color: var(--error-color);
    font-weight: bold;
}

/* Form Container Enhancements */
.form-container {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile Responsiveness for Forms */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-control {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        padding: 1rem;
        -webkit-text-size-adjust: 100%;
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
        caret-color: #000000 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .form-control:focus {
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .form-label {
        font-size: var(--font-size-base);
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: var(--font-size-base);
        width: 100%; /* Full width buttons on mobile */
    }
}

/* Touch device input fixes */
@media (pointer: coarse) {
    .form-control,
    .form-control-xl {
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
        caret-color: #000000 !important;
        transform: none !important;
    }
    
    .form-control:focus,
    .form-control-xl:focus {
        transform: none !important;
        -webkit-transform: none !important;
    }
}

/* Autofill text visibility fix */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #000000 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    caret-color: #000000 !important;
}

/* Footer - Pure Black & White theme */
.main-footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFFFFF;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid #FFFFFF;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #FFFFFF;
    padding-top: 1rem;
    text-align: center;
    color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .nav-menu .nav-link {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #FFFFFF;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #FFFFFF;
    }
    
    .nav-menu .nav-link i {
        font-size: 18px;
    }
    
    .nav-menu .nav-link.icon-only {
        padding: 12px 16px;
        justify-content: center;
    }
    
    .nav-menu .nav-link.icon-only::after {
        content: attr(title);
        margin-left: 8px;
    }
    
    /* Highlight sell/seller buttons */
    .nav-menu .nav-link.sell-cta,
    .nav-menu .nav-link.seller-link {
        background: linear-gradient(135deg, #FFFFFF, #E0E0E0);
        color: #000000;
        border: 2px solid #000000;
        font-weight: 700;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
        background: linear-gradient(135deg, #1a1a1a, #000000);
        border: 2px solid #FFFFFF;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
        color: white;
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
    }
    
    .mobile-menu-toggle.active {
        background: linear-gradient(
            to bottom,
            var(--gold-dark) 0%, var(--gold-dark) 20%,
            #000000 20%, #000000 25%,
            var(--gold-dark) 25%, var(--gold-dark) 45%,
            #000000 45%, #000000 50%,
            var(--gold-dark) 50%, var(--gold-dark) 70%,
            #000000 70%, #000000 75%,
            var(--gold-dark) 75%, var(--gold-dark) 100%
        );
    }
    
    .mobile-menu-toggle.active i {
        transform: rotate(90deg);
        color: var(--gold-light);
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: var(--spacing-sm);
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .main-content {
        padding: var(--spacing-md) 0;
    }
    
    .content-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        border-radius: var(--radius-md);
    }
    
    .nav-menu {
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
    
    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Glass Card Variations */
.glass-card-primary {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.glass-card-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.glass-card-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.glass-card-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

/* African market-themed welcome banner */
.market-welcome-banner {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.12) 0%,    /* Golden yellow like palm oil */
        rgba(40, 167, 69, 0.12) 25%,   /* Green like vegetables */ 
        rgba(220, 53, 69, 0.12) 50%,   /* Red like tomatoes */
        rgba(255, 133, 27, 0.12) 75%,  /* Orange like peppers */
        rgba(0, 135, 81, 0.12) 100%);  /* Nigerian flag green */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.market-welcome-banner::before {
    content: '🏪����️�🥜�';
    position: absolute;
    top: -20px;
    left: -20%;
    right: -20%;
    font-size: 2rem;
    opacity: 0.15;
    animation: africanMarketScroll 18s linear infinite;
    white-space: nowrap;
}

@keyframes marketImageScroll {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.market-welcome-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #000000, #FFFFFF, #2d2d2d, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.market-welcome-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* Market category cards */
.market-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.market-category-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.market-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.market-category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.market-category-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.market-category-count {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Enhanced Form Accessibility and High Visibility Styles */
.form-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* High Contrast Labels for Better Visibility */
.form-label-enhanced {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label-enhanced::before {
    content: "📝";
    font-size: 1.1rem;
}

/* Extra Large Input Fields */
.form-control-xl {
    font-size: 1.3rem !important;
    padding: 1.5rem 1.5rem !important;
    border: 3px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: white !important;
    color: #000000 !important; /* Explicit text color for mobile visibility */
    -webkit-text-fill-color: #000000 !important; /* iOS Safari fix */
    opacity: 1 !important; /* Fix for iOS Safari */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    min-height: 60px;
    font-weight: 500;
}

.form-control-xl:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background: #fafafa !important;
}

/* Super Visible Buttons */
.btn-super-visible {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    padding: 1.5rem 3rem !important;
    border-radius: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.btn-super-visible::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-super-visible:hover::before {
    left: 100%;
}

.btn-super-visible:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Enhanced Error and Success Messages */
.form-message-enhanced {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 1rem 0;
    border-left: 6px solid;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.form-message-success {
    border-left-color: var(--success-color);
    color: #065f46;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.form-message-error {
    border-left-color: var(--error-color);
    color: #991b1b;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.form-message-warning {
    border-left-color: var(--warning-color);
    color: #92400e;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

/* Tooltip for Form Help */
.form-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 0.5rem;
}

.form-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 1rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: var(--font-size-sm);
}

.form-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Progress Indicator for Multi-step Forms */
.form-progress {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.form-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Dark Mode Form Styles */
@media (prefers-color-scheme: dark) {
    .form-control-xl {
        background: #374151 !important;
        color: white !important;
        border-color: #4b5563 !important;
    }
    
    .form-label-enhanced {
        color: #f9fafb !important;
    }
    
    .form-enhanced {
        background: linear-gradient(135deg, rgba(31, 41, 55, 0.98) 0%, rgba(17, 24, 39, 0.95) 100%);
        border-color: #4b5563;
    }
}

/* ========================================
   USER ACTIVITY STATUS INDICATORS
   ======================================== */

/* Status Dot - Basic Circle Indicator */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    position: relative;
}

/* Online Status - Black */
.status-online .status-dot,
.status-dot.online {
    background-color: #000000;
    animation: pulse-black 2s infinite;
}

/* Away Status - Gray */
.status-away .status-dot,
.status-dot.away {
    background-color: #6a6a6a;
    animation: pulse-gray 2s infinite;
}

/* Offline Status - White */
.status-offline .status-dot,
.status-dot.offline {
    background-color: #FFFFFF;
    border: 2px solid #000000;
}

/* Pulse Animations */
@keyframes pulse-black {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
    }
}

@keyframes pulse-gray {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(106, 106, 106, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(106, 106, 106, 0);
    }
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.online {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
    border: 1px solid #000000;
}

.status-badge.away {
    background-color: rgba(106, 106, 106, 0.1);
    color: #4a4a4a;
    border: 1px solid #6a6a6a;
}

.status-badge.offline {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
    border: 1px solid #000000;
}

/* User Card Status Indicator */
.user-card-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Avatar with Status */
.user-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.user-avatar-wrapper .status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.user-avatar-wrapper .status-indicator.online {
    background-color: #000000;
}

.user-avatar-wrapper .status-indicator.away {
    background-color: #6a6a6a;
}

.user-avatar-wrapper .status-indicator.offline {
    background-color: #FFFFFF;
    border: 2px solid #000000;
}

/* Status Text */
.status-text {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
}

.status-text.online {
    color: #000000;
}

.status-text.away {
    color: #4a4a4a;
}

.status-text.offline {
    color: #6a6a6a;
}

/* Large Status Indicator (for profiles) */
.status-indicator-large {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px 0;
}

.status-indicator-large .status-dot {
    width: 12px;
    height: 12px;
}

.status-indicator-large .status-icon {
    font-size: 16px;
}

/* Inline Status Indicator */
.inline-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.inline-status .status-dot {
    width: 8px;
    height: 8px;
}

/* Seller Card Status */
.seller-card .status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Chat/Message Status */
.message-user-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .status-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .status-dot {
        width: 8px;
        height: 8px;
    }
}
