/* ===== EMERGENCY DASHBOARD LAYOUT ===== */
/* Complete redesign with split-screen emergency dashboard */

/* ===== DASHBOARD BASE LAYOUT ===== */
.emergency-dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Emergency Header Bar */
.emergency-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg,
        rgba(230, 57, 70, 0.95) 0%,
        rgba(198, 40, 40, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 30px rgba(230, 57, 70, 0.3);
}

.emergency-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00F5D4;
    border-radius: 50%;
    animation: pulseLive 1.5s ease-in-out infinite;
}

@keyframes pulseLive {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(0, 245, 212, 0);
    }
}

.status-text {
    color: #00F5D4;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.emergency-title {
    color: white;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-toggle-mini {
    display: flex;
    gap: 0.5rem;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* ===== SPLIT DASHBOARD LAYOUT ===== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

/* ===== LEFT PANEL - FORM ===== */
.dashboard-form-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(230, 57, 70, 0.1);
}

.panel-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(230, 57, 70, 0.2);
}

.pulse-urgent {
    animation: pulseUrgent 2s ease-in-out infinite;
}

@keyframes pulseUrgent {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.panel-title-group {
    flex: 1;
}

.panel-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 0.25rem;
}

.panel-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted, #666);
    margin: 0;
}

/* ===== RIGHT PANEL - INFO ===== */
.dashboard-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

@media (max-width: 768px) {
    .dashboard-info-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }
}

/* ===== INFO CARDS ===== */
.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin: 0;
}

/* Live Stats */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.stat-item {
    padding: 0.75rem 0.5rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(0, 245, 212, 0.05));
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--token-primary, #E63946);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted, #666);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Network Pulse */
.network-pulse {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pulse-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 245, 212, 0.3),
        rgba(230, 57, 70, 0.5),
        rgba(0, 245, 212, 0.3),
        transparent
    );
    background-size: 200% 100%;
    animation: pulseLineMove 2s linear infinite;
    border-radius: 2px;
}

@keyframes pulseLineMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.pulse-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00C9A7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Process Steps Vertical */
.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #E63946, #7B2CBF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-primary, #1a1a1a);
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-muted, #666);
    margin: 0;
    line-height: 1.4;
}

.step-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, #E63946, #7B2CBF);
    margin-left: 15px;
    border-radius: 2px;
}

/* Urgency Levels */
.urgency-levels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.urgency-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.02);
}

.level-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.urgency-level.emergency .level-badge {
    background: linear-gradient(135deg, #E63946, #C62828);
    color: white;
}

.pulse-emergency {
    animation: pulseEmergency 1.5s ease-in-out infinite;
}

@keyframes pulseEmergency {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); }
}

.urgency-level.urgent .level-badge {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.urgency-level.routine .level-badge {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
}

.level-time {
    font-size: 0.75rem;
    color: var(--text-muted, #666);
}

/* Trust List */
.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #333);
}

.check-icon {
    color: #00C9A7;
    font-weight: 700;
}

/* Emergency CTA Card */
.emergency-contact-card {
    background: linear-gradient(135deg,
        rgba(230, 57, 70, 0.08) 0%,
        rgba(230, 57, 70, 0.03) 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.emergency-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cta-icon {
    font-size: 2rem;
}

.pulse-sos {
    animation: pulseSOS 1s ease-in-out infinite;
}

@keyframes pulseSOS {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.cta-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: #C62828;
}

.cta-content p {
    font-size: 0.8rem;
    color: var(--text-muted, #666);
    margin: 0;
}

.emergency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #E63946, #C62828);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(230, 57, 70, 0.5); }
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.emergency-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===== DASHBOARD FOOTER ===== */
.dashboard-footer {
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(230, 57, 70, 0.05);
    border-radius: 12px;
    border-left: 4px solid #E63946;
}

.disclaimer-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.disclaimer-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary, #444);
    margin: 0;
}

/* ===== DARK MODE SUPPORT ===== */
body.dark-mode .dashboard-form-panel,
body.dark-mode .info-card {
    background: rgba(30, 35, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .panel-title,
body.dark-mode .card-title,
body.dark-mode .step-content h4,
body.dark-mode .cta-content h4 {
    color: #f1f5f9;
}

body.dark-mode .panel-subtitle,
body.dark-mode .step-content p,
body.dark-mode .stat-label,
body.dark-mode .level-time,
body.dark-mode .cta-content p {
    color: #94a3b8;
}

body.dark-mode .trust-list li {
    color: #e2e8f0;
}

body.dark-mode .disclaimer-box {
    background: rgba(230, 57, 70, 0.1);
}

body.dark-mode .disclaimer-box p {
    color: #cbd5e1;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .emergency-header {
        padding: 0.75rem 1rem;
    }

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

    .dashboard-layout {
        padding: 1rem;
        gap: 1rem;
    }

    .dashboard-form-panel {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .live-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 1rem;
    }
}

/* ===== ORIGINAL ENHANCEMENTS ===== */
/* Use design tokens */
.request-card,
.realtime-network-header {
    background: var(--glass-bg, rgba(255, 255, 255, 0.95));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.3));
}

/* Emergency Pulse Animation */
@keyframes urgentPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(230, 57, 70, 0);
    }
}

@keyframes emergencyGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    }
    50% {
        box-shadow: 0 4px 40px rgba(230, 57, 70, 0.6), 0 0 60px rgba(230, 57, 70, 0.3);
    }
}

/* Emergency Dashboard Header */
.realtime-network-header {
    position: relative;
    overflow: hidden;
}

.realtime-network-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Priority Level Enhancements */
.priority-input:checked + .priority-label.emergency {
    animation: urgentPulse 2s ease-in-out infinite;
}

/* Blood Type Selection Enhancement */
.blood-type-label {
    position: relative;
    overflow: hidden;
}

.blood-type-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
    z-index: 0;
}

.blood-type-input:checked + .blood-type-label::before {
    width: 200%;
    height: 200%;
}

/* Process Step Animation */
.process-step {
    transition: all 0.3s var(--ease-out, ease-out);
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
}

.process-step::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #00F5D4));
    transition: width 0.3s ease, left 0.3s ease;
}

.process-step:hover::after {
    width: 80%;
    left: 10%;
}

/* Submit Button Enhancement */
.submit-btn {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #FF2E63)) !important;
}

.submit-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: left 0.5s ease;
}

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

.submit-btn:hover {
    box-shadow: var(--shadow-glow-primary, 0 0 30px rgba(230, 57, 70, 0.5));
}

/* Countdown Timer Styling */
.countdown-timer {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--token-primary, #E63946);
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(230, 57, 70, 0.1);
    border-radius: var(--radius-lg, 20px);
    animation: emergencyGlow 2s ease-in-out infinite;
}

/* Urgency Indicator Enhancement */
.urgency-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.urgency-item:hover {
    transform: translateX(10px);
    border-left-width: 6px;
}

.urgency-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #00F5D4));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.urgency-item:hover::before {
    transform: scaleY(1);
}

/* Form Card 3D Effect */
.request-card.card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Scroll Animation Data Attributes */
[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

        :root {
            --text-light: #6b6561;
            --text-ultra-dark: #1c1917;
            --text-high-contrast: #0f0e0d;
            
            /* Semantic Colors */
            --success: #7a8471;
            --warning: #a69b94;
            --danger: #8b5a5c;
            --info: #6b8aaa;
            
            /* Glass morphism - Subtle and refined */
            --white: #ffffff;
            --glass-light: rgba(255, 255, 255, 0.1);
            --glass-strong: rgba(255, 255, 255, 0.25);
            --glass-border: rgba(255, 255, 255, 0.3);
            --glass-blur: blur(20px);
            
            /* Typography - Matching existing fonts */
            --font-heading: 'Playfair Display', 'Georgia', serif;
            --font-body: 'Inter', 'Segoe UI', sans-serif;
            --font-accent: 'Inter', 'Segoe UI', sans-serif;
            
            /* Font Weights */
            --font-weight-light: 300;
            --font-weight-normal: 400;
            --font-weight-medium: 500;
            --font-weight-semibold: 600;
            --font-weight-bold: 700;
            
            /* Shadows - Matching existing */
            --shadow-soft: 0 15px 35px rgba(50, 50, 93, 0.06), 0 5px 15px rgba(0, 0, 0, 0.07);
            --shadow-medium: 0 20px 40px rgba(50, 50, 93, 0.1), 0 10px 20px rgba(0, 0, 0, 0.1);
            --shadow-strong: 0 25px 50px rgba(50, 50, 93, 0.15), 0 15px 25px rgba(0, 0, 0, 0.15);
            
            /* Transitions - Matching existing */
            --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            
            /* Border Radius */
            --radius-sm: 8px;
            --radius-md: 15px;
            --radius-lg: 20px;
            --radius-xl: 25px;
            --radius-full: 50%;
            
            /* Toggle Menu specific variables */
            --toggle-button-size: 60px;
            --toggle-menu-gap: 6px;
            --toggle-button-size-mobile: 44px;
            --toggle-menu-gap-mobile: 6px;
            --left-menu-primary: var(--secondary-color);
            --left-menu-buttons: var(--secondary-dark);
            --right-menu-primary: var(--primary-color);
            --right-menu-buttons: var(--primary-color);
        }

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

        /* === AMBIENT BACKGROUND === */
        .ambient-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            background: linear-gradient(135deg, var(--bg-warm-ultra-light) 0%, var(--bg-neutral-light) 100%);
            animation: ambientShift 20s ease-in-out infinite;
        }
        
        @keyframes ambientShift {
            0%, 100% { filter: hue-rotate(0deg) brightness(1); }
            50% { filter: hue-rotate(10deg) brightness(1.05); }
        }

        /* === FLOATING SHAPES === */
        .floating-shape {
            position: fixed;
            border-radius: 50%;
            filter: blur(50px);
            opacity: 0.6;
            mix-blend-mode: multiply;
            will-change: transform;
            animation: float-slow 30s infinite alternate ease-in-out;
            z-index: -1;
        }
        
        .shape-1 {
            top: 60%;
            left: 70%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle at 50% 50%, rgba(255, 248, 231, 0.4), rgba(255, 248, 231, 0.08));
            animation-delay: 2s;
        }
        
        .shape-2 {
            bottom: 50%;
            left: 5%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle at 40% 60%, rgba(229, 115, 115, 0.15), rgba(198, 40, 40, 0.04));
            animation-delay: 8s;
            animation-direction: alternate-reverse;
        }
        
        @keyframes float-slow {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        /* === PARTICLES === */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
            background: radial-gradient(circle at 30% 30%, rgba(229, 57, 53, 0.12), rgba(198, 40, 40, 0.08), rgba(183, 28, 28, 0.06));
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            border-radius: 50%;
            animation: float-particle 15s infinite linear;
            width: 3px;
            height: 3px;
            background: var(--primary-color);
            opacity: 0.6;
        }
        
        @keyframes float-particle {
            0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
        }

        /* === MENU LABEL FIX === */
        .menu-btn-left,
        .menu-btn,
        .menu-container-left a,
        .menu-container a {
            text-decoration: none !important;
        }
        
        .menu-btn-left .label,
        .menu-btn .label {
            text-decoration: none !important;
        }
        
        /* Ensure menu links are clickable and properly styled */
        .menu-btn-left:hover,
        .menu-btn:hover {
            text-decoration: none !important;
        }
        
        /* Fix any pointer issues */
        .menu-btn-left,
        .menu-btn {
            cursor: pointer !important;
            pointer-events: auto !important;
        }

        /* === REALTIME NETWORK HEADER === */
        .realtime-network-header {
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius-lg);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-soft);
        }

        .network-title {
            font-family: var(--font-heading);
            font-size: 2rem;
            font-weight: var(--font-weight-bold);
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .network-subtitle {
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .network-process {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .process-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.7);
            border-radius: var(--radius-md);
            border: 2px solid rgba(198, 40, 40, 0.2);
            min-width: 120px;
        }

        .step-icon {
            font-size: 2rem;
        }

        .process-arrow {
            font-size: 1.5rem;
            color: var(--primary-color);
            font-weight: bold;
        }

        .urgency-indicators {
            display: grid;
            gap: 1rem;
        }

        .urgency-item {
            padding: 1rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: var(--radius-md);
            border-left: 4px solid var(--primary-color);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* === REQUEST FORM CARD === */
        .request-card {
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius-lg);
            padding: 3rem;
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .request-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
        }

        .form-title {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            font-weight: var(--font-weight-bold);
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .form-subtitle {
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.1rem;
            font-weight: var(--font-weight-normal);
        }

        /* Form groups */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-label {
            display: block;
            color: var(--text-primary);
            font-weight: var(--font-weight-semibold);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .required {
            color: var(--primary-color);
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid rgba(47, 43, 38, 0.15);
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-primary);
            font-size: 1rem;
            transition: var(--transition-smooth);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            font-family: var(--font-body);
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: var(--text-light);
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* Blood type selector */
        .blood-type-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .blood-type-option {
            position: relative;
        }

        .blood-type-input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .blood-type-label {
            display: block;
            padding: 1rem;
            text-align: center;
            background: rgba(255, 255, 255, 0.7);
            border: 2px solid rgba(47, 43, 38, 0.15);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-weight: var(--font-weight-semibold);
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .blood-type-label:hover {
            background: rgba(255, 255, 255, 0.9);
            border-color: var(--primary-color);
        }

        .blood-type-input:checked + .blood-type-label {
            background: var(--primary-color);
            border-color: var(--primary-dark);
            color: var(--white);
            transform: scale(1.05);
            box-shadow: var(--shadow-soft);
        }

        /* Priority level */
        .priority-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .priority-option {
            position: relative;
        }

        .priority-input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .priority-label {
            display: block;
            padding: 1rem;
            text-align: center;
            background: rgba(255, 255, 255, 0.7);
            border: 2px solid rgba(47, 43, 38, 0.15);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-weight: var(--font-weight-semibold);
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .priority-label:hover {
            background: rgba(255, 255, 255, 0.9);
        }

        .priority-label.emergency {
            border-color: var(--danger);
        }

        .priority-label.urgent {
            border-color: var(--warning);
        }

        .priority-label.routine {
            border-color: var(--success);
        }

        .priority-label.emergency:hover {
            border-color: var(--danger);
            background: rgba(139, 90, 92, 0.1);
        }

        .priority-label.urgent:hover {
            border-color: var(--warning);
            background: rgba(166, 155, 148, 0.1);
        }

        .priority-label.routine:hover {
            border-color: var(--success);
            background: rgba(122, 132, 113, 0.1);
        }

        .priority-input:checked + .priority-label.emergency {
            background: var(--danger);
            color: var(--white);
            box-shadow: var(--shadow-soft);
        }

        .priority-input:checked + .priority-label.urgent {
            background: var(--warning);
            color: var(--white);
            box-shadow: var(--shadow-soft);
        }

        .priority-input:checked + .priority-label.routine {
            background: var(--success);
            color: var(--white);
            box-shadow: var(--shadow-soft);
        }

        /* === SUBMIT BUTTON === */
        .submit-btn {
            width: 100%;
            padding: 1.25rem;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            color: var(--white);
            border: none;
            border-radius: var(--radius-md);
            font-size: 1.1rem;
            font-weight: var(--font-weight-semibold);
            cursor: pointer;
            transition: var(--transition-smooth);
            margin-top: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-family: var(--font-body);
            box-shadow: var(--shadow-soft);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        }

        .submit-btn:active {
            transform: translateY(0);
            box-shadow: var(--shadow-soft);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        /* === SUCCESS MESSAGE === */
        .success-message {
            background: linear-gradient(135deg, var(--success), rgba(122, 132, 113, 0.9));
            color: var(--white);
            padding: 1rem;
            border-radius: var(--radius-md);
            text-align: center;
            margin-top: 1rem;
            display: none;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* === MOBILE RESPONSIVENESS === */
        @media (max-width: 768px) {
            .realtime-network-header {
                padding: 1.5rem;
            }
            
            .network-title {
                font-size: 1.5rem;
            }

            .network-process {
                flex-direction: column;
            }
            
            .process-arrow {
                transform: rotate(90deg);
            }

            .request-card {
                padding: 2rem 1.5rem;
            }

            .form-title {
                font-size: 2rem;
            }

            .form-subtitle {
                font-size: 1rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .blood-type-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 0.75rem;
            }

            .priority-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
        }

        @media (max-width: 600px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .blood-type-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .blood-type-grid {
                grid-template-columns: 1fr;
            }

            .request-card {
                padding: 1.5rem 1rem;
            }

            .form-title {
                font-size: 1.8rem;
            }
        }
