@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

#map {
    z-index: 0;
}

/* Animation for AI assistant button */
#ai-assistant {
    transition: transform 0.3s ease;
}

#ai-assistant:hover {
    transform: scale(1.1);
}

/* Photo preview styling */
#photo-preview img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Modal animation */
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Advanced Chat Interface */
#ai-chat {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    max-height: 60vh;
    overflow-y: auto;
}

#ai-chat div {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    line-height: 1.6;
}

#ai-chat div[class*="bg-blue"] {
    border-left: 4px solid #3b82f6;
}

#ai-chat div[class*="bg-gray"] {
    border-left: 4px solid #9ca3af;
}

#ai-input {
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s;
}

#ai-input:focus {
    border-color: #3b82f6;
    outline: none;
}

.suggestion-chip {
    display: inline-block;
    background: #e0e7ff;
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.suggestion-chip:hover {
    background: #3b82f6;
    color: white;
}

.data-point {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.data-point i {
    margin-right: 0.75rem;
    color: #3b82f6;
}
/* Loading spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}