.amc-quote-form-wrapper {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.quote-form-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 15px;
}

.quote-form-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quote-form-title .material-icons {
    font-size: 28px;
    color: #0066cc;
}

.quote-form-subtitle {
    color: #0066cc;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
}

.amc-quote-form .form-group {
    margin-bottom: 20px;
}

.amc-quote-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.amc-quote-form .required {
    color: #dc3545;
    font-weight: bold;
}

.amc-quote-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.amc-quote-form .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    outline: none;
}

.amc-quote-form .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.amc-quote-form .form-control.is-invalid {
    border-color: #dc3545;
}

.form-gdpr {
    background: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ffeaa7;
}

.amc-quote-form-wrapper .form-gdpr .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.amc-quote-form-wrapper .form-gdpr .form-check-input {
    margin-top: 4px; /* align checkbox with first line of text */
    flex: 0 0 auto;
    cursor: pointer;
}

.amc-quote-form-wrapper .form-gdpr .form-check-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    cursor: pointer; /* ensures label click feels clickable */
}

.amc-quote-form-wrapper .form-gdpr .form-check-label a {
    white-space: normal;
}

.form-gdpr label {
    font-weight: normal;
    margin-bottom: 0;
}

.btn-quote-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    background-color: #0066cc;
    border: none;
    border-radius: 4px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    cursor: pointer;
}

.btn-quote-submit:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

.btn-quote-submit:active {
    transform: translateY(0);
}

.btn-quote-submit .material-icons {
    font-size: 20px;
}

.btn-quote-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.quote-form-messages {
    margin-bottom: 20px;
}

.quote-success,
.quote-error {
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.quote-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.quote-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .amc-quote-form-wrapper {
        padding: 20px 15px;
    }

    .quote-form-title {
        font-size: 20px;
    }

    .form-row {
        display: block !important;
    }

    .form-row .col-md-6 {
        width: 100% !important;
        padding: 0 !important;
    }
}

/* Animation de chargement */
.btn-quote-submit.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
