/* Formulaire de location - Styles */
.location-form-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(14, 49, 75, 0.15);
    border: 1px solid #6CC0BA;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.location-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #6CC0BA;
}

.location-form-title {
    color: #0E314B;
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.location-form-subtitle {
    color: #0E314B;
    opacity: 0.7;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.location-form {
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.form-row .form-group {
    padding: 10px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .form-row {
        margin: 0;
    }
    
    .form-row .form-group {
        padding: 5px 0;
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0E314B;
    font-size: 15px;
}

.required-label {
    color: #FEB737;
    font-weight: bold;
}

.optional-label {
    color: #0E314B;
    opacity: 0.6;
    font-weight: 400;
    font-style: italic;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #6CC0BA;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #0E314B;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #FEB737!important;
    outline: none!important;
    box-shadow: 0 0 0 3px rgba(254, 183, 55, 0.2);
    background-color: #fff;
}

.form-control:focus-visible {
    outline: none!important;
    box-shadow: 0 0 0 3px rgba(254, 183, 55, 0.2);
}

.form-control::-webkit-outer-spin-button,
.form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-control[type=number] {
    -moz-appearance: textfield;
}

.form-control:hover {
    border-color: #FEB737;
}

.form-control::placeholder {
    color: #6CC0BA;
    opacity: 0.8;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-text {
    display: block;
    margin-top: 5px;
    color: #0E314B;
    opacity: 0.7;
    font-size: 13px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-location {
    padding: 14px 32px;
    background: linear-gradient(135deg, #0E314B 0%, #0E314B 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 49, 75, 0.3);
    min-width: 200px;
}

.btn-location:hover {
    background: linear-gradient(135deg, #FEB737 0%, #FEB737 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 183, 55, 0.4);
    color: #0E314B;
}

.btn-location:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(14, 49, 75, 0.3);
}

.btn-location i {
    margin-right: 8px;
}

.location-form-alert {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(108, 192, 186, 0.1);
    border-color: #6CC0BA;
    color: #0E314B;
}

.alert-danger {
    background-color: rgba(254, 183, 55, 0.1);
    border-color: #FEB737;
    color: #0E314B;
}

.location-form-alert i {
    margin-right: 10px;
    font-size: 16px;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: #0E314B;
    opacity: 0.7;
    font-size: 13px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .location-form-container {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .location-form-title {
        font-size: 24px;
    }
    
    .location-form-subtitle {
        font-size: 14px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .btn-location {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .location-form-container {
        margin: 10px 5px;
        padding: 15px;
    }
    
    .btn-location {
        width: 100%;
        min-width: auto;
    }
}