/* ============================================
   Crave Catcher Admin - Minimal CSS
   (Most styling is handled by Tailwind CSS)
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 53, 0.2);
}

/* Print styles */
@media print {
    aside,
    header,
    .no-print {
        display: none !important;
    }

    main {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ============================================
   Leaflet Map Styles
   ============================================ */

/* Unit pulse animation for checked-in markers */
@keyframes unitPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Unit marker base styles */
.leaflet-unit-marker {
    transition: transform 0.2s ease;
}

.leaflet-unit-marker:hover {
    transform: scale(1.2);
    z-index: 1000 !important;
}

/* Unit popup styles */
.unit-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.unit-popup .leaflet-popup-content {
    margin: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
}

/* Selected unit card highlight */
.unit-card-selected {
    ring: 2px;
    ring-color: #FF6B35;
    ring-offset: 2px;
}
