/* Main container styles */
html, body, .app-container {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Map container */
#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Search container */
.search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Loading spinner */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .search-container {
        padding: 0 5px;
    }

    .input-group {
        flex-wrap: nowrap;
    }

    .btn {
        padding: 0.375rem 0.5rem;
    }
}

/* Custom popup styles */
.custom-popup {
    max-width: 300px;
}

.custom-popup h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.custom-popup p {
    margin-bottom: 0.5rem;
}

/* Speech recognition active indicator */
.speech-active {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 202, 240, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 202, 240, 0);
    }
}

/* Improved toast notifications */
.toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.95;
    backdrop-filter: blur(5px);
    min-width: 280px;
    max-width: 90%;
    margin: 0 auto;
}

.toast .toast-header {
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.toast .toast-body {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* Debug button */
#debug-button {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#debug-button:hover {
    opacity: 1;
}
