/* Styles pour le formulaire de devis */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background-color: #fff;
}

.form-input-file {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-input-file:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-checkbox:checked {
    background-color: #f97316;
    border-color: #f97316;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
}

.form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
    background: linear-gradient(90deg, #f97316, #f97316);
}

.submit-button:active {
    transform: translateY(0);
}

/* Animation de chargement */
.loading-spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message de confirmation */
.confirmation-message {
    display: none;
    padding: 2rem;
    background-color: #f0fdf4;
    border-radius: 0.5rem;
    border-left: 4px solid #10b981;
    text-align: center;
}

.confirmation-message__icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.confirmation-message__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.confirmation-message__text {
    color: #374151;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-input, .form-input-file {
        padding: 0.625rem 0.875rem;
    }
    
    .submit-button {
        padding: 0.875rem 1.5rem;
    }
}