/* GEOTEQ HYDRIC - National Engineering Firm Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* Base Settings */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0B1F33;
    /* Deep Navy - National Corporate Default */
    color: #F1F5F9;
    /* Slate 100 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    /* Thinner, more elegant */
}

::-webkit-scrollbar-track {
    background: #0B1F33;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Chart Container Styling Rules */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 350px;
    }
}

/* Leaflet Map Customization */
#map {
    z-index: 10;
    height: 100%;
    width: 100%;
    background: #1E293B;
}

.leaflet-container {
    font-family: 'Inter', sans-serif;
}

.leaflet-grab {
    cursor: crosshair;
}

.leaflet-dragging .leaflet-grab {
    cursor: grabbing;
}

/* Form Styles - Executive */
.input-error {
    border-color: #EF4444 !important;
    background-color: #450a0a;
}

.error-msg {
    display: none;
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Loading Overlay */
#loadingOverlay {
    display: none;
}

/* Custom Utilities for "National" feel */
.corp-border {
    border: 1px solid #1E293B;
    /* Subtle Graphite border */
}

.tech-grid-bg {
    background-image: linear-gradient(#1e293b 0.5px, transparent 0.5px),
        linear-gradient(90deg, #1e293b 0.5px, transparent 0.5px);
    background-size: 40px 40px;
    /* Larger, more open grid */
    background-position: center center;
}

/* Button & UI Refinements */
.btn-corp {
    transition: all 150ms ease-in-out;
}

.card-hover {
    transition: transform 200ms ease-out, border-color 200ms ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    border-color: #C57A00;
}