/* velocity_finder.css - Velocity Finder Pro Complete Styling */
/* Beautiful glassmorphism design with #181E57 and #0018FF color scheme */
/* ✅ UPDATED: Enhanced text visibility and proper color schemes */

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    line-height: 1.6;
}

:root {
    --brand-primary: #181E57;
    --electric-blue: #0018FF;
    --pure-white: #ffffff;
    --success: #10B981;
    --error: #EF4444;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

.main-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, #181E5740 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, #0018FF20 0%, transparent 70%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
        linear-gradient(135deg, #181E5720 0%, #0018FF15 40%, rgba(255, 255, 255, 0.95) 100%);
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.floating-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #181E5725, #0018FF15, transparent);
    animation-delay: 0s;
}

.floating-2 {
    bottom: 20%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #0018FF18, rgba(255, 255, 255, 0.6), transparent);
    animation-delay: 2s;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
}

.glass-card:hover::before {
    opacity: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 40px 32px !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-ai::before {
    background: linear-gradient(135deg, #0018FF15 0%, #0018FF08 50%, rgba(255, 255, 255, 0.1) 100%);
}

.feature-card-ai:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(25px);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 24, 255, 0.25) !important;
    border-color: rgba(0, 24, 255, 0.4) !important;
}

.feature-card-code::before {
    background: linear-gradient(135deg, #181E5720 0%, #181E5710 50%, rgba(255, 255, 255, 0.1) 100%);
}

.feature-card-code:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(25px);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(24, 30, 87, 0.25) !important;
    border-color: rgba(24, 30, 87, 0.4) !important;
}

.feature-card-climate::before {
    background: linear-gradient(135deg, #10B98120 0%, #10B98110 50%, rgba(255, 255, 255, 0.1) 100%);
}

.feature-card-climate:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(25px);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Suggestion buttons */
.suggestion-btn {
    background: white !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    color: var(--gray-700) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.08), rgba(0, 24, 255, 0.04)) !important;
    border-color: #0018FF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 24, 255, 0.15) !important;
}

.suggestion-btn.selected {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
}

/* Risk category buttons */
.risk-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid var(--gray-200) !important;
    border-radius: 12px !important;
    padding: 18px 14px !important;
    color: var(--gray-700) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 12px !important;
    text-align: left !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 85px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.risk-btn:hover {
    border-color: #0018FF !important;
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.08), rgba(0, 24, 255, 0.04)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 24, 255, 0.2) !important;
}

.risk-btn.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3) !important;
}

.risk-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

/* Action buttons */
.action-btn {
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.12), rgba(0, 24, 255, 0.06)) !important;
    border: 1px solid rgba(0, 24, 255, 0.3) !important;
    border-radius: 10px !important;
    color: #0018FF !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}

.action-btn-data {
    background: linear-gradient(135deg, rgba(24, 30, 87, 0.12), rgba(24, 30, 87, 0.06)) !important;
    border: 1px solid rgba(24, 30, 87, 0.3) !important;
    color: #181E57 !important;
}

.action-btn-export {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.06)) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #EF4444 !important;
}

.action-btn:hover,
.action-btn.selected {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25) !important;
}

/* Map control buttons */
.map-control-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #374151 !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin: 0 0.5rem !important;
    transition: all 0.3s ease !important;
}

.map-control-btn.active {
    background: linear-gradient(135deg, #0018ff 0%, #181E57 100%) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.map-control-btn:hover {
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.1), rgba(24, 30, 87, 0.05)) !important;
    border-color: #0018FF !important;
    color: #0018FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 24, 255, 0.2) !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

/* Responsive design */
@media (max-width: 768px) {
    .interface-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .input-panel {
        position: static !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .feature-card {
        padding: 30px 20px !important;
    }

    .glass-card {
        padding: 20px !important;
    }
}

/* Additional responsive adjustments for suggestions */
@media (max-width: 400px) {
    .suggestions-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    
    .suggestion-btn {
        font-size: 10px !important;
        padding: 6px 8px !important;
        min-height: 45px !important;
    }
    
    .suggestion-title {
        font-size: 11px !important;
    }
    
    .suggestion-risk {
        font-size: 8px !important;
    }
}

/* Enhanced text styling - CRISP WHITE GLASS EFFECT */
.hero-title-gradient {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5)) !important;
}

.hero-word-gradient {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    margin-right: 0.3em !important;
    font-weight: 900 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5)) !important;
}

.map-title-gradient {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5)) !important;
}

.map-word-gradient {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    margin-right: 0.3em !important;
    font-weight: 700 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5)) !important;
}

.hero-description-glassy {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Feature card text styling like start analysis button */
.feature-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #181E57 0%, #181E57 35%, #0018FF 70%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 12px !important;
    position: relative;
    z-index: 2;
    line-height: 1.2 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3) !important;
}

.feature-desc {
    font-size: 13px !important;
    color: #ffffff !important;  /* Pure white for readability */
    line-height: 1.4 !important;
    font-weight: 600 !important;  /* Bolder for better visibility */
    position: relative;
    z-index: 2;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;  /* Dark shadow for contrast */
    background: rgba(255, 255, 255, 0.1) !important;  /* Subtle background */
    backdrop-filter: blur(5px) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Icon gradient styling for branded colors - FIXED */
.icon-gradient-blue {
    background: linear-gradient(135deg, #181E57 0%, #0018FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.icon-background-gradient {
    background: linear-gradient(135deg, #181E57 0%, #0018FF 100%) !important;
}

/* FIXED: Feature card icons with proper branded colors */
.feature-icon {
    background: linear-gradient(135deg, #181E57 0%, #0018FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 32px !important;
}

.feature-icon-wrapper {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 24px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #181E57 0%, #0018FF 100%) !important;
    box-shadow: 0 8px 25px rgba(24, 30, 87, 0.3) !important;
}

/* Feature card text fitting and improved readability */
.feature-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;  /* Reduced padding for better text fit */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 300px !important;  /* Increased height for better text spacing */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.feature-title {
    font-size: 18px !important;  /* Slightly smaller for better fit */
    font-weight: 800;
    background: linear-gradient(135deg, #181E57 0%, #181E57 30%, #0018FF 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px !important;
    position: relative;
    z-index: 2;
    line-height: 1.2 !important;
}

.feature-desc {
    font-size: 13px !important;  /* Slightly smaller for better fit */
    color: rgba(30, 41, 59, 0.9) !important;  /* Darker for better contrast */
    line-height: 1.4 !important;
    font-weight: 500;
    position: relative;
    z-index: 2;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
}

/* Updated suggestion buttons - FIXED TEXT WRAPPING AND SIZING */
.suggestion-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(24, 30, 87, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 8px !important;  /* Increased padding for better text fit */
    color: #181E57 !important;
    font-size: 10px !important;  /* Smaller font for better wrapping */
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(24, 30, 87, 0.1) !important;
    min-height: 60px !important;  /* Increased minimum height */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;  /* Allow text wrapping */
    line-height: 1.3 !important;  /* Better line spacing */
}

.suggestion-title {
    font-weight: 700 !important;
    margin-bottom: 4px !important;  /* Increased spacing */
    font-size: 11px !important;  /* Slightly larger for readability */
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
}

.suggestion-risk {
    font-size: 9px !important;
    color: #181E57 !important;
    opacity: 0.8 !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, rgba(24, 30, 87, 0.08), rgba(0, 24, 255, 0.04)) !important;
    border-color: #0018FF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0, 24, 255, 0.2) !important;
    color: #0018FF !important;
    text-shadow: 0 0 8px rgba(0, 24, 255, 0.3) !important;
}

.suggestion-btn.selected {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4) !important;
    font-weight: 700 !important;
}

/* Risk category buttons - only active/selected are green */
.risk-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(24, 30, 87, 0.2) !important;
    border-radius: 12px !important;
    padding: 18px 14px !important;
    color: #181E57 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 12px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 85px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(24, 30, 87, 0.1) !important;
}

.risk-btn:hover {
    border-color: #0018FF !important;
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.08), rgba(0, 24, 255, 0.04)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 24, 255, 0.25) !important;
    color: #0018FF !important;
    text-shadow: 0 0 8px rgba(0, 24, 255, 0.3) !important;
}

.risk-btn.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35) !important;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.5) !important;
    font-weight: 700 !important;
}

.risk-label {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    margin-bottom: 4px !important;
}

.risk-desc {
    font-size: 0.75rem !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
}

.risk-examples {
    font-size: 0.7rem !important;
    font-style: italic !important;
    opacity: 0.8 !important;
}

/* Action buttons - only selected are green */
.action-btn {
    background: linear-gradient(135deg, rgba(24, 30, 87, 0.12), rgba(0, 24, 255, 0.08)) !important;
    border: 2px solid rgba(24, 30, 87, 0.3) !important;
    border-radius: 10px !important;
    color: #181E57 !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(24, 30, 87, 0.15) !important;
}

.action-btn:hover {
    border-color: #0018FF !important;
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.15), rgba(0, 24, 255, 0.08)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 24, 255, 0.25) !important;
    color: #0018FF !important;
    text-shadow: 0 0 8px rgba(0, 24, 255, 0.3) !important;
}

.action-btn.selected {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35) !important;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.5) !important;
}

.action-btn-data {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.12), rgba(75, 85, 99, 0.08)) !important;
    border: 2px solid rgba(75, 85, 99, 0.3) !important;
    color: #4b5563 !important;
}

.action-btn-export {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.08)) !important;
    border: 2px solid rgba(239, 68, 68, 0.3) !important;
    color: #EF4444 !important;
}

/* Map control buttons - only active are different */
.map-control-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #181E57 !important;
    border: 2px solid rgba(24, 30, 87, 0.2) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin: 0 0.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(24, 30, 87, 0.1) !important;
}

.map-control-btn:hover {
    background: linear-gradient(135deg, rgba(0, 24, 255, 0.1), rgba(24, 30, 87, 0.05)) !important;
    border-color: #0018FF !important;
    color: #0018FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 24, 255, 0.25) !important;
    text-shadow: 0 0 8px rgba(0, 24, 255, 0.3) !important;
}

.map-control-btn.active {
    background: linear-gradient(135deg, #181E57 0%, #0018FF 100%) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 24px rgba(24, 30, 87, 0.4) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3) !important;
}

/* Additional utility classes for better integration */
.velocity-finder-container {
    min-height: 100vh;
    position: relative;
    font-family: "Inter", sans-serif;
}

.velocity-finder-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.velocity-finder-hero {
    padding: 80px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.velocity-finder-interface {
    padding: 40px 24px 80px;
    position: relative;
    z-index: 10;
}