@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Fix for header positioning */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
}

body { 
    background-color: #000000; 
    color: #e5e7eb; 
    -webkit-tap-highlight-color: transparent; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    font-family: 'Inter', sans-serif; 
    padding-top: env(safe-area-inset-top);
}

/* Ensure the app content takes up the right amount of space */
#app-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

* { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    -webkit-tap-highlight-color: transparent; 
}

*::-webkit-scrollbar { 
    display: none; 
}

.hide-scrollbar::-webkit-scrollbar { 
    display: none; 
}

.hide-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.snap-container { 
    scroll-snap-type: y mandatory; 
    overflow-y: auto; 
    scroll-behavior: smooth; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
}

.snap-hero { 
    height: 100%; 
    width: 100%; 
    flex-shrink: 0; 
    scroll-snap-align: start; 
    scroll-snap-stop: always; 
    display: flex; 
    flex-direction: column; 
    background-color: #000000; 
}

/* Fix for hero layout */
.snap-hero > div:first-child {
    flex: 1;
    min-height: 0;
}

.snap-list { 
    min-height: 100%; 
    width: 100%; 
    flex-shrink: 0; 
    scroll-snap-align: start; 
    scroll-snap-stop: always; 
    background-color: #000000; 
    padding-bottom: 2rem; 
}

.gm-style-cc, .gmnoprint, .gm-fullscreen-control, .gm-iv-address, a[href^="https://maps.google.com/maps"] { 
    display: none !important; 
    opacity: 0 !important; 
}

.btn-press { 
    transition: transform 0.1s, filter 0.1s; 
}

.btn-press:active { 
    transform: scale(0.96); 
    filter: brightness(1.1); 
}

.text-shadow-md { 
    text-shadow: 0 2px 4px rgba(0,0,0,0.9); 
}

.loader-ring { 
    border: 2px solid rgba(255, 255, 255, 0.1); 
    border-left-color: #3b82f6; 
    border-radius: 50%; 
    width: 20px; 
    height: 20px; 
    animation: spin-slow 1s linear infinite; 
}

.glass-panel { 
    background: rgba(17, 24, 39, 0.8); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
}

#bottom-nav { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 60px; 
    background: #000000; 
    border-top: 1px solid #1f2937; 
    z-index: 50; 
    padding-bottom: env(safe-area-inset-bottom); 
}

#list-container { 
    padding-bottom: 80px; 
    scroll-snap-type: y mandatory; 
}

.snap-item { 
    scroll-snap-align: start; 
}

.active-job-glow { 
    box-shadow: inset 0 0 0 1px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.2); 
}

/* iOS Swipe Drawer Logic */
.job-card-wrapper { 
    position: relative; 
    overflow: hidden; 
    border-radius: 0.75rem; 
    margin-bottom: 0.75rem; 
    background: #000; 
}

.job-card-actions { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    right: 0; 
    width: 180px; 
    display: flex; 
    z-index: 0; 
}

.job-card-front { 
    position: relative; 
    z-index: 10; 
    background: #111827; 
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
    width: 100%; 
    height: 100%; 
}

.swiped .job-card-front { 
    transform: translateX(-180px); 
}

/* Police card styling */
.police-card {
    background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.police-light {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 4px;
}

.red-light, .blue-light {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.red-light {
    background-color: #ef4444;
    animation: flash-red 1s infinite;
}

.blue-light {
    background-color: #3b82f6;
    animation: flash-blue 1s infinite;
}

/* Help button styling */
.help-circle i {
    border: 2px solid #ef4444;
    border-radius: 50%;
    padding: 1px;
}

/* Fix for footer text size */
#bottom-nav span {
    font-size: 9px !important;
    line-height: 1 !important;
}

/* Fix for Google Maps */
[id^="pano-"] {
    width: 100%;
    height: 100%;
    background-color: #1f2937;
}
Explain