/* Custom Styles for PionGIS */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#landingView section {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

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

/* Leaflet Overrides */
.leaflet-container {
    background: #f1f5f9 !important;
}

.leaflet-control-zoom {
    display: none !important;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(4px);
    border-top-left-radius: 12px;
    padding: 4px 8px !important;
}

/* Shared Components */
.card-hover {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dashboard specific */
.chart-container {
    position: relative;
    width: 100%;
}

/* Modal animation override */
#infoModal.flex {
    animation: fadeIn 0.3s ease-out forwards;
}
