/* Custom styles for HHL15 Tracking Services */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#map,
#adminMap,
.leaflet-container {
    position: relative !important;
    z-index: 0 !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    font-family: inherit;
    margin: 16px;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tutorial styles */
@keyframes tutorialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0px rgba(59, 130, 246, 0.6);
        outline: 2px solid rgba(59, 130, 246, 0.6);
        outline-offset: 1px;
    }
    50% {
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
        outline: 2px solid rgba(59, 130, 246, 0.9);
        outline-offset: 2px;
    }
}

.tutorial-highlighted {
    animation: tutorialPulse 2s infinite ease-in-out !important;
    position: relative;
    cursor: help !important;
}

.tutorial-tooltip-active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* --- Terminal Console Custom Styles --- */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Input Shake Animation */
@keyframes consoleShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.animate-shake {
    animation: consoleShake 0.4s ease-in-out;
}

@media (max-width: 768px) {
    main {
        padding-top: 5rem !important;
    }
}


