/* Custom styles to complement Bootstrap */
:root {
    --primary-red: #be321b;
    --dark-gray: #212121;
}

/* Autocomplete styles */
.autocomplete-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem !important;
}

.autocomplete-item strong {
    color: var(--primary-red);
}

/* Flight card styles */
.flight-card {
    transition: all 0.3s ease;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(190,50,27,0.1) !important;
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(190,50,27,0.1);
}

/* Checkbox checked state */
.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Custom button hover */
.btn[style*="background-color: #be321b"]:hover {
    background-color: #9e2917 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(190,50,27,0.3);
}

/* Loading spinner color */
.spinner-border {
    color: var(--primary-red) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
   
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Animation for modal */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Toast positioning */
.toast {
    opacity: 0.95;
    backdrop-filter: blur(10px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9e2917;
}