/* ==========================================
   SUBTOMEK - PAGE INSCRIPTION
   Habillage graphique uniquement
   ========================================== */

/* En-tête SUBTOMEK et petit carnet */


.auth-page .brand {
    position: relative;
    width: 100%;

    margin: 55px auto 25px;
    padding: 0;

    min-height: auto;
    text-align: center;
}

.auth-page .auth-container {
    position: relative;
}


.auth-page .brand-book {
    position: absolute;

    width: 76px;
    height: 76px;

    top: 0;
    right: 0;
    left: auto;

    object-fit: contain;
    border-radius: 12px;

    pointer-events: none;
    z-index: 5;
}

/* Espace réservé au plongeur */

.auth-page .auth-visual {
    position: relative;
    width: 100%;
    padding-top: 125px;
    isolation: isolate;
    overflow: visible;
}

/* Illustration du plongeur */


/* PLONGEUR - PLUS GRAND, EN HAUT À GAUCHE */

.auth-page .auth-decoration {
    position: absolute;

    width: 290px;
    height: 290px;

    top: -65px;
    left: -35px;
    right: auto;

    z-index: 1;

    object-fit: contain;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;

    -webkit-mask-image: none;
    mask-image: none;

    pointer-events: none;

    filter: drop-shadow(
        0 8px 12px rgba(0, 0, 0, .15)
    );
}


/* Le formulaire passe devant le plongeur */

.auth-page .auth-visual .auth-card {
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 20px;

    box-shadow: 0 12px 35px rgba(0, 30, 60, .15);
}

/* Adaptation aux téléphones */

@media (max-width: 600px) {

    .auth-page .brand {
        padding-right: 65px;
    }

    .auth-page .brand-book {
        width: 60px;
        height: 60px;
       top: -25px;
    }

    .auth-page .auth-visual {
        padding-top: 110px;
    }

    .auth-page .auth-decoration {
        width: 190px;
        height: 190px;
        top: 0;
        right: -5px;
    }
}

@media (max-width: 380px) {

    .auth-page .brand strong {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .auth-page .auth-decoration {
        width: 165px;
        height: 165px;
        top: 10px;
        right: 0;
    }
}


/* AJUSTEMENTS MOBILE */

@media (max-width: 600px) {

    .auth-page .auth-decoration {
        width: 235px;
        height: 235px;
        top: -45px;
        left: -15px;
        right: auto;
    }

    .auth-page .brand-book {
        top: -15px;
    }
}

@media (max-width: 380px) {

    .auth-page .auth-decoration {
        width: 205px;
        height: 205px;
        top: -30px;
        left: -10px;
        right: auto;
    }
}


/* ==========================================
   EN-TÊTE - ADAPTATION MOBILE
   ========================================== */

@media (max-width: 600px) {

    .auth-page .brand {
        margin-top: 55px;
        padding: 0;
    }

    .auth-page .brand-book {
        width: 60px;
        height: 60px;

        top: 12px;
        left: 12px;
        right: auto;
    }
}

@media (max-width: 380px) {

    .auth-page .brand {
        padding: 0;
    }

    .auth-page .brand-book {
        width: 55px;
        height: 55px;

        top: 12px;
        left: 10px;
        right: auto;
    }
}


@media (max-width: 600px) {

    .auth-page .brand-book {
        width: 60px;
        height: 60px;

        top: 0;
        right: 0;
        left: auto;
    }
}

@media (max-width: 380px) {

    .auth-page .brand-book {
        width: 55px;
        height: 55px;

        top: 0;
        right: 0;
        left: auto;
    }
}


/* BLOC 1 : Bouquin indépendant */
.auth-page .inscription-book-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
border-radius: 10px;
    width: 100%;
    height: 75px;
}

.auth-page .inscription-book {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* BLOC 2 : Titre indépendant et centré */
.auth-page .brand {
    width: 100%;
    margin: 10px auto 25px;
    padding: 0;
    min-height: 0;
    text-align: center;
}

/* Sur téléphone */
@media (max-width: 600px) {
    .auth-page .inscription-book-header {
        height: 60px;
    }

    .auth-page .inscription-book {
        width: 55px;
        height: 55px;
    }
}
