/* SF SMART FOOD Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-orange: #FF5A1F;
    --primary-dark: #121212;
    --card-bg: #1A1A1A;
    --border-color: #2E2E2E;
    --accent-gold: #F59E0B;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Hide scrollbar for clean app experience */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom pulse animations */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(0.98); }
}
.animate-subtle {
    animation: pulse-subtle 2s infinite ease-in-out;
}

/* Glassmorphism */
.glass-nav {
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-card {
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bottom Sheet transition */
.sheet-enter {
    transform: translateY(100%);
    opacity: 0;
}
.sheet-enter-active {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.sheet-enter-to {
    transform: translateY(0);
    opacity: 1;
}
.sheet-leave-active {
    transition: transform 0.25s ease-in, opacity 0.25s ease-in;
}
.sheet-leave-to {
    transform: translateY(100%);
    opacity: 0;
}

/* Thermal Print Receipt Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .no-print {
        display: none !important;
    }
    .thermal-receipt {
        width: 78mm !important;
        max-width: 78mm !important;
        margin: 0 auto !important;
        padding: 4mm !important;
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        color: black !important;
        font-family: 'Courier New', Courier, monospace !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
    .thermal-receipt * {
        color: black !important;
    }
}

/* Leaflet Dark Map & Custom Markers */
.leaflet-container {
    background: #121212 !important;
    font-family: inherit !important;
}
.leaflet-tile {
    filter: brightness(0.85) contrast(1.15) !important;
}
.courier-marker-pin {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.courier-marker-pin::after {
    content: '';
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.4);
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}
.pulse-step-ring {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    animation: step-pulse 1.8s infinite;
}
@keyframes step-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}
