/* Button styling */
.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: white !important;
    padding: 0.375rem 0.75rem; /* Smaller padding */
    font-size: 0.9rem; /* Slightly smaller font */
}

.input-group .form-control {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    margin-right: 8px;
    padding: 0.75rem 1rem; /* Larger padding for input */
    font-size: 1rem; /* Normal font size for input */
    height: auto; /* Allow natural height */
}

#search-input {
    padding: 0.75rem 1rem; /* Larger padding */
    font-size: 1rem; /* Normal font size */
    height: 48px; /* Fixed height to match buttons */
    line-height: 1.5;
}

#search-btn {
    margin-right: 8px;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem; /* Smaller padding */
    font-size: 0.9rem; /* Slightly smaller font */
    height: 48px; /* Match input height */
}

#discover-btn {
    border-left: none;
    color: white !important;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem; /* Smaller padding */
    font-size: 0.9rem; /* Slightly smaller font */
    height: 48px; /* Match input height */
}

.map-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
    color: white !important;
}

.btn-success {
    color: white !important;
}

.btn-info {
    color: white !important;
}

/* Black text for welcome message */
#welcome-message {
    color: #212529 !important;
}

#welcome-message h5,
#welcome-message p {
    color: #212529 !important;
}

/* Icon spacing */
.bi {
    margin-right: 0.25rem;
}

/* Progress overlay */
.progress-overlay {
    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: 9999;
}

.progress-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.spinner-border-custom {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* Button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    opacity: 0.6;
}

.btn-spinner {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
}

/* Search suggestions */
.search-suggestions {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item.active {
    background-color: #e7f3ff;
    color: #0066cc;
}

.suggestion-loading {
    padding: 0.75rem 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Modal insights section */
.modal-insights {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.modal-insights h6 {
    color: #495057;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-insights .insights-content {
    color: #212529;
    line-height: 1.6;
}

.modal-insights .insights-loading {
    text-align: center;
    color: #212529;
    font-style: italic;
}

.insights-section {
    margin-bottom: 1.5rem;
}

.insights-section:last-child {
    margin-bottom: 0;
}

/* Quick Action Cards */
.quick-action-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.quick-action-card .card-body {
    padding: 2rem 1.5rem;
}

.quick-action-card .btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-width: 2px;
    transition: all 0.2s ease;
}

.quick-action-card .btn:hover {
    transform: translateY(-1px);
}

/* Custom outline button colors */
.btn-outline-purple {
    color: #9b59b6;
    border-color: #9b59b6;
}

.btn-outline-purple:hover {
    background-color: #9b59b6;
    border-color: #9b59b6;
    color: white;
}

.btn-outline-warning {
    color: #f39c12;
    border-color: #f39c12;
}

.btn-outline-warning:hover {
    background-color: #f39c12;
    border-color: #f39c12;
    color: white;
}

/* Quick actions section */
#quick-actions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

#quick-actions h4 {
    color: #495057;
    font-weight: 600;
}