/* ── DSM : Formulaire d'inscription ───────────────────────────────────────── */

.dsm-registration-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.dsm-form {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
}

.dsm-form__row--split {
    display: flex;
    gap: 16px;
}
.dsm-form__row--split .dsm-form__group {
    flex: 1;
}

.dsm-form__group {
    margin-bottom: 20px;
}

.dsm-form__group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #374151;
}

.dsm-required {
    color: #ef4444;
}

.dsm-form__group input[type="text"],
.dsm-form__group input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color .15s;
    box-sizing: border-box;
}

.dsm-form__group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* Honeypot */
.dsm-form__group--honey {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.dsm-btn--primary {
    width: 100%;
    padding: 13px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.dsm-btn--primary:hover {
    background: #1d4ed8;
}

.dsm-btn--primary:active {
    transform: scale(.98);
}

.dsm-btn--primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.dsm-form__legal {
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

/* Notices */
.dsm-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}
/* Décalage de l'ancre #dsm-status pour ne pas être masquée par un header fixe,
   et petite animation pour attirer l'oeil quand on arrive sur la notice. */
#dsm-status {
    scroll-margin-top: 120px;
    animation: dsm-notice-pop .9s ease-out;
}
@keyframes dsm-notice-pop {
    0%   { transform: scale(.98); box-shadow: 0 0 0 0 rgba(16,185,129,.45); }
    60%  { transform: scale(1);   box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.dsm-notice--success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}
.dsm-notice--warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}
.dsm-notice--error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #7f1d1d;
}

@media (max-width: 520px) {
    .dsm-form {
        padding: 20px 16px;
    }
    .dsm-form__row--split {
        flex-direction: column;
        gap: 0;
    }
}
