/* Contact Form Styling */
.contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 30px; /* Verhoogd van 20px naar 30px */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group label small {
    color: #666;
    font-weight: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3a6ea5;
    outline: none;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}
.form-group.form-group-row {
    flex-direction: row;
    align-items: flex-end;
}

.form-group.form-group-row input,
.form-group.form-group-row select,
.form-group.form-group-row textarea {
    width: 100%; /* vult alleen de kolom, niet de hele form-group */
}
.submit-button {
    background-color: #3a6ea5;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2a5a8a;
}

/* Multi-Step Form Styling */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.next-button,
.prev-button,
.submit-button {
    background-color: #3a6ea5;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.next-button:hover,
.prev-button:hover,
.submit-button:hover {
    background-color: #2a5a8a;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f44336;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: #4CAF50;
}

.toast-error {
    background: #f44336;
}

/* Form Validation Styling */
.form-error {
    border: 1px solid #e57373 !important;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.2) !important;
    background-color: #ffeaea !important;
}

.form-error:focus {
    border-color: #e57373 !important;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.3) !important;
}

/* Booking Summary Styling */
.summary-section {
    background: #ffffff;
    padding: 25px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.summary-section p {
    margin: 10px 0;
    color: #555;
    padding-left: 15px;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

/* Travel Section Styling */
.travel-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.travel-section h5 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.travel-section h5:hover {
    opacity: 0.8;
}

/* Step header styling */
#step-header {
    transition: opacity 0.3s ease;
}

/* Form step titles */
.form-step h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3a6ea5;
    text-align: center;
}

/* Subtitel styling in luchthavenvervoer */
.form-step h4 {
    color: #37474f;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .booking-form {
        padding: 15px;
    }

    .submit-button,
    .next-button,
    .prev-button {
        width: 100%;
    }

    .toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}
.form-group {
    position: relative;
}

.address-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.address-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
}

.address-item:hover {
    background-color: #f8f9fa;
}

.address-item:last-child {
    border-bottom: none;
}

.address-item:active {
    background-color: #e9ecef;
}

/* Input styling voor autocomplete */
.address-input {
    border-radius: 8px 8px 0 0;
}

.address-input:focus + .address-results {
    border-color: #3a6ea5;
}

/* Address validation styling */
.address-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2) !important;
}

.address-invalid {
    border-color: #e57373 !important;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.2) !important;
}

.address-error-message {
    color: #e57373;
    font-size: 14px;
    margin-top: 4px;
    font-weight: 400;
}

/* Loading state voor adres lookup */
.address-loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><circle cx="12" cy="12" r="3" opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="1s" repeatCount="indefinite"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 16px;
}

/* Distance display styling */
.distance-highlight {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #3a6ea5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.distance-highlight p {
    margin: 0;
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
}

/* Loading indicator */
.distance-loading {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Voeg toe aan het einde: */

.distance-section {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.distance-section h5 {
    margin-top: 0;
    margin-bottom: 15px;
}

.distance-section h6 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.distance-segment {
    background: #ffffff;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border-left: 4px solid #3a6ea5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Verschillende achtergrondkleuren voor heenreis en terugreis */
.outbound-segment {
    background: #f0f7ff !important;
    border-left-color: #3a6ea5 !important;
}

.return-segment {
    background: #fff5f0 !important;
    border-left-color: #d2691e !important;
}

/* Voeg toe aan je CSS bestand */
.distance-loading-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
    border: 2px dashed #dee2e6;
    position: relative;
    overflow: hidden;
}

.distance-loading-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3a6ea5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

#other-airport-group label,
#other-airport-group-heen label {
    display: block;
    text-align: left;
}
