body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#map {
    min-height: 400px;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Mapbox controls styling */
.mapboxgl-ctrl {
    margin: 10px !important;
}

.mapboxgl-popup {
    max-width: 250px !important;
}

.mapboxgl-popup-content {
    padding: 15px !important;
}
/* Enhanced UI Components */
.status-badge {
    @apply px-2 py-1 text-xs rounded-full font-medium;
}

/* Form validation */
input:invalid, textarea:invalid {
    @apply border-red-300;
}

input:invalid:focus, textarea:invalid:focus {
    @apply ring-red-200 border-red-300;
}

.error-message {
    @apply text-xs text-red-500 mt-1;
}
.status-pending {
    @apply bg-yellow-100 text-yellow-800;
}

.status-investigating {
    @apply bg-blue-100 text-blue-800;
}

.status-resolved {
    @apply bg-green-100 text-green-800;
}

.status-critical {
    @apply bg-red-100 text-red-800;
}

.report-card {
    @apply border border-gray-200 rounded-lg p-4 transition;
}
.report-card:hover {
    @apply border-teal-300 bg-teal-50 shadow-md;
}

#preview-image {
    max-height: 200px;
    width: auto;
    display: block;
    margin: 0 auto;
}

#upload-container {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Animation for AI assistant button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#ai-assistant-btn {
    animation: pulse 2s infinite;
}

/* Chat modal styles */
#ai-chat-modal .bg-white {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

#ai-chat-messages {
    flex-grow: 1;
}

.report-marker i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Map legend (would need to be added to HTML) */
.map-legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 30px;
    right: 10px;
    z-index: 1;
}

.map-legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.map-legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}