/* ==========================================
   SUBTOMEK - DEVENIR PARTENAIRE
   Complément à parrainage.css
   ========================================== */

/* Carte du formulaire */
.auth-page .partenariat-card {
    text-align: left;
    padding: 30px 28px;
}

/* Titre principal */
.auth-page .partenariat-card h1 {
    margin: 0 0 15px;
    text-align: center;
    color: #073e58;
    font-size: 1.55rem;
    line-height: 1.3;
}

/* Présentation du programme */
.auth-page .partenariat-card .intro {
    text-align: center;
    line-height: 1.65;
    color: #526c7a;
    margin: 0 0 25px;
    font-size: .94rem;
}

/* Titres des sections */
.auth-page .partenariat-card h2 {
    margin: 26px 0 18px;
    color: #075985;
    font-size: 1.12rem;
    line-height: 1.4;
}

/* Libellés */
.auth-page .partenariat-card label {
    display: block;
    margin-top: 17px;
    margin-bottom: 7px;
    color: #173a4d;
    font-size: .87rem;
    font-weight: 700;
}

/* Champs */
.auth-page .partenariat-card input:not([type="hidden"]) {
    display: block;
    width: 100%;
    min-width: 0;

    padding: 13px 14px;

    background: #f8fafb;
    border: 1px solid #d8e0e5;
    border-radius: 12px;

    color: #092638;
    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

/* Champ actif */
.auth-page .partenariat-card input:not([type="hidden"]):focus {
    border-color: #00a6cf;
    box-shadow: 0 0 0 3px rgba(0, 166, 207, .14);
}

/* Séparation des deux parties */
.auth-page .partenariat-card .separateur {
    margin-top: 30px;
    padding-top: 4px;
    border-top: 1px solid #d8e6ed;
}

/* Bouton principal */
.auth-page .partenariat-card button[type="submit"] {
    display: block;
    width: 100%;

    margin-top: 28px;
    padding: 15px 12px;

    border: none;
    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #00a6cf,
        #006d99
    );

    color: white;
    font-family: inherit;
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.4;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

/* Survol du bouton */
@media (hover: hover) {
    .auth-page .partenariat-card button[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 50, 80, .2);
    }
}

/* Navigation au clavier */
.auth-page .partenariat-card button[type="submit"]:focus-visible {
    outline: 3px solid #0284c7;
    outline-offset: 3px;
}

/* Message de réussite */
.auth-page .partenariat-card .succes {
    margin: 18px 0;
    padding: 15px;

    background: #dcfce7;
    color: #166534;

    border-radius: 10px;
    line-height: 1.6;
}

/* Message d'erreur */
.auth-page .partenariat-card .erreur {
    margin: 18px 0;
    padding: 15px;

    background: #fee2e2;
    color: #991b1b;

    border-radius: 10px;
    line-height: 1.6;
}

/* Note de bas de formulaire */
.auth-page .partenariat-card .note {
    margin: 24px 0 0;

    padding-top: 18px;
    border-top: 1px solid #d8e6ed;

    color: #64748b;
    font-size: .8rem;
    line-height: 1.6;
    text-align: center;
}

/* Adaptation téléphone */
@media (max-width: 600px) {
    .auth-page .partenariat-card {
        padding: 25px 20px;
    }

    .auth-page .partenariat-card h1 {
        font-size: 1.35rem;
    }

    .auth-page .partenariat-card h2 {
        font-size: 1.05rem;
    }

    .auth-page .partenariat-card button[type="submit"] {
        font-size: .9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page .partenariat-card input,
    .auth-page .partenariat-card button[type="submit"] {
        transition: none;
    }
}
