.salon-form-wrap {
    max-width: 720px;
    margin: 32px auto;
    padding: 32px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(174, 6, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #ae0600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #222;
}

.salon-form-title {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}
.salon-form-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #ae0600 0%, #e91c1f 100%);
    border-radius: 2px;
}

/* ----- Bloc description (en-tête HTML personnalisable) ----- */
.salon-form-description {
    margin: 0 0 28px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
    border-left: 4px solid #ae0600;
    border-radius: 6px;
    color: #2a1010;
    line-height: 1.55;
}
.salon-form-description h2,
.salon-form-description h3,
.salon-form-description h4 {
    margin: 0 0 10px;
    color: #ae0600;
}
.salon-form-description h3 { font-size: 18px; }
.salon-form-description h4 { font-size: 16px; }
.salon-form-description p { margin: 0 0 10px; }
.salon-form-description p:last-child { margin-bottom: 0; }
.salon-form-description ul,
.salon-form-description ol {
    margin: 8px 0 8px 22px;
    padding: 0;
}
.salon-form-description li { margin: 4px 0; }

/* ----- Bouton Instagram dans le message de succès ----- */
.sf-message .sf-instagram-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
    transition: transform .15s, box-shadow .15s;
}
.sf-message .sf-instagram-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
    color: #fff !important;
}
.sf-message h2,
.sf-message h3,
.sf-message h4 { margin: 0 0 10px; }
.sf-message p { margin: 0 0 10px; }
.sf-message ul,
.sf-message ol { margin: 8px 0 12px 22px; padding: 0; }
.sf-message li { margin: 4px 0; }

.salon-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sf-field {
    display: flex;
    flex-direction: column;
}
.sf-field.sf-hidden {
    display: none;
}

.sf-label {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}
.sf-required {
    color: #e91c1f;
}
.sf-help {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
    font-style: italic;
}

.sf-field input[type="text"],
.sf-field input[type="email"],
.sf-field input[type="tel"],
.sf-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.sf-field input:focus,
.sf-field textarea:focus {
    outline: none;
    border-color: #e91c1f;
    box-shadow: 0 0 0 3px rgba(233, 28, 31, 0.15);
}
.sf-field textarea {
    resize: vertical;
    min-height: 100px;
}

.sf-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sf-field-checkbox .sf-options {
    flex-direction: column;
}
.sf-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background .15s, border-color .15s;
    background: #fafafa;
}
.sf-option:hover {
    background: #fff5f5;
    border-color: #e91c1f;
}
.sf-option input[type="radio"],
.sf-option input[type="checkbox"] {
    margin: 0;
    accent-color: #ae0600;
}
.sf-option:has(input:checked) {
    background: #fff5f5;
    border-color: #ae0600;
    box-shadow: 0 0 0 1px #ae0600 inset;
}
.sf-option input:checked + span {
    font-weight: 600;
    color: #ae0600;
}
.sf-field-checkbox .sf-option {
    width: 100%;
    justify-content: flex-start;
}

.sf-actions {
    margin-top: 8px;
    text-align: center;
}
.sf-submit {
    background: linear-gradient(135deg, #ae0600 0%, #e91c1f 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(174, 6, 0, 0.28);
    transition: background .2s, transform .05s, box-shadow .2s;
}
.sf-submit:hover {
    background: linear-gradient(135deg, #8a0500 0%, #ae0600 100%);
    box-shadow: 0 6px 20px rgba(174, 6, 0, 0.4);
    transform: translateY(-1px);
}
.sf-submit:active {
    transform: scale(0.98);
}
.sf-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.sf-message {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
}
.sf-message:empty {
    display: none;
}
.sf-message.sf-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.sf-message.sf-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.sf-field-error {
    color: #ae0600;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}
.sf-has-error input,
.sf-has-error textarea {
    border-color: #e91c1f;
}
.sf-has-error .sf-options {
    padding: 6px;
    border: 1px dashed #e91c1f;
    border-radius: 6px;
}

.sf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .salon-form-wrap {
        padding: 20px;
        margin: 16px;
    }
    .salon-form-title {
        font-size: 22px;
    }
    .sf-options {
        flex-direction: column;
    }
    .sf-option {
        width: 100%;
        justify-content: flex-start;
    }
}
