/* reset_mdp.css — CRM Pharma — Page de réinitialisation du mot de passe */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    background-color: #ebf4ff;
    background-image:
        radial-gradient(ellipse 70% 50% at 15% 20%, rgba(66,153,225,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 80%, rgba(44,82,130,0.12) 0%, transparent 55%);
}

.card {
    width: 420px;
    max-width: 94vw;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 44px 40px 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 32px rgba(44,82,130,0.10);
    animation: fadeUp .5s cubic-bezier(.22,1,.36,1) both;
}

@keyframes fadeUp {
    from { opacity:0; transform: translateY(20px); }
    to   { opacity:1; transform: translateY(0); }
}

.logo-zone { text-align: center; margin-bottom: 28px; }

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: #2c5282;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(44,82,130,0.3);
}
.logo-icon svg { width: 24px; height: 24px; fill: #fff; }

.logo-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    color: #2c5282;
    letter-spacing: -.2px;
}
.logo-subtitle {
    font-size: 12px;
    color: #a0aec0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.alert {
    border-radius: 8px;
    font-size: 13px;
    padding: 11px 14px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}
.alert-danger  { background:#fff5f5; border:1px solid #fed7d7; color:#c53030; }
.alert-success { background:#f0fff4; border:1px solid #c6f6d5; color:#276749; }

.hint {
    font-size: 13px;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a0aec0;
    margin-bottom: 6px;
}
.field input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #2d3748;
    outline: none;
    transition: all .2s;
}
.field input::placeholder { color: #c0ccd8; }
.field input:focus {
    border-color: #4299e1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
}

.btn-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #2c5282;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(44,82,130,0.3);
    transition: all .15s;
}
.btn-submit:hover { background: #3a6fa8; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(44,82,130,0.35); }
.btn-submit:active { transform: translateY(0); }

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #4299e1;
    text-decoration: none;
}
.back-link:hover { color: #2c5282; }
