

:root{
    --bni-red:#b5122b;
    --bni-red-dark:#8f0e21;
    --bni-red-deep:#720817;

    --ink:#1d1d1d;
    --text:#343434;
    --muted:#777777;

    --white:#ffffff;
    --soft:#f8f7f5;
    --line:#e5e1db;

    --green:#147747;
    --green-soft:#eaf6ef;

    --danger:#a31b30;
    --danger-soft:#fff0f1;
}

*{
    box-sizing:border-box;
}

html{
    min-height:100%;
}

body{
    margin:0;

    min-height:100vh;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color:var(--text);

    background:
        radial-gradient(
            circle at 12% 5%,
            rgba(255,255,255,.10),
            transparent 27%
        ),
        radial-gradient(
            circle at 88% 90%,
            rgba(70,0,13,.32),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #8f0e21 0%,
            #b5122b 48%,
            #720817 100%
        );

    background-attachment:fixed;
}


/* ============================================================
   PAGE
   ============================================================ */

.register-shell{
    width:100%;
    max-width:1120px;

    margin:0 auto;

    padding:
        24px
        20px
        42px;
}


/* ============================================================
   BRANDING
   ============================================================ */

.register-brand{
    width:100%;
    min-height:94px;

    display:grid;

    grid-template-columns:
        minmax(150px,1fr)
        auto
        minmax(190px,1fr);

    align-items:center;

    gap:20px;

    padding:
        14px
        26px;

    margin-bottom:16px;

    background:#fff;

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

    border-radius:8px;

    box-shadow:
        0 12px 32px
        rgba(63,0,13,.12);
}

.register-brand-logo{
    min-width:0;

    display:flex;

    align-items:center;
}

.register-brand-logo img{
    display:block;

    width:auto;
    height:auto;

    object-fit:contain;
}

.register-brand-bni{
    justify-content:flex-start;
}

.register-brand-bni img{
    max-width:140px;
    max-height:60px;
}

.register-brand-fg{
    justify-content:flex-end;
}

.register-brand-fg img{
    max-width:185px;
    max-height:46px;
}

.register-brand-center{
    display:flex;

    justify-content:center;
    align-items:center;

    text-align:center;
}

.register-brand-center strong{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:
        9px
        14px;

    background:var(--bni-red);

    color:#fff;

    border-radius:5px;

    font-size:12px;
    line-height:1.25;

    font-weight:750;

    white-space:nowrap;
}


/* ============================================================
   INTRO
   ============================================================ */

.register-intro{
    position:relative;

    padding:
        21px
        24px;

    margin-bottom:14px;

    background:#fff;

    border:
        1px solid
        var(--line);

    border-left:
        4px solid
        var(--bni-red);

    border-radius:7px;

    box-shadow:
        0 11px 29px
        rgba(62,0,13,.09);
}

.register-kicker{
    margin-bottom:4px;

    color:
        var(--bni-red);

    font-size:9px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.6px;
}

.register-intro h1{
    margin:0;

    color:
        var(--ink);

    font-size:25px;
    line-height:1.2;

    font-weight:780;

    letter-spacing:-.35px;
}

.register-intro p{
    max-width:650px;

    margin:
        7px
        0
        0;

    color:
        var(--muted);

    font-size:12px;
    line-height:1.55;
}


/* ============================================================
   CARD FORMULAIRE
   ============================================================ */

.register-card{
    width:100%;

    max-width:760px;

    margin:
        0
        auto;

    background:#fff;

    border:
        1px solid
        var(--line);

    border-radius:7px;

    box-shadow:
        0 13px 32px
        rgba(62,0,13,.11);

    overflow:hidden;
}

.register-card-head{
    padding:
        20px
        22px
        17px;

    background:
        #faf9f7;

    border-bottom:
        1px solid
        var(--line);
}

.register-card-head h2{
    margin:0;

    color:#252525;

    font-size:16px;

    line-height:1.3;

    font-weight:780;
}

.register-card-head p{
    margin:
        5px
        0
        0;

    color:
        var(--muted);

    font-size:10.5px;
    line-height:1.5;
}

.register-form{
    padding:
        22px;
}


/* ============================================================
   FORMULAIRE
   ============================================================ */

.register-grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        15px
        14px;
}

.register-field{
    min-width:0;

    display:flex;

    flex-direction:column;
}

.register-field-full{
    grid-column:
        1 / -1;
}

.register-field label{
    margin-bottom:6px;

    color:#49433f;

    font-size:10px;

    line-height:1.3;

    font-weight:750;
}

.register-field label span{
    color:#8a847f;

    font-size:9px;

    font-weight:600;
}

.register-field input{
    width:100%;

    min-height:42px;

    margin:0;

    padding:
        10px
        11px;

    background:#fff;

    color:#292929;

    border:
        1px solid
        #d6d1cb;

    border-radius:4px;

    font-family:inherit;

    font-size:12px;

    outline:none;

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

.register-field input::placeholder{
    color:#aaa39d;
}

.register-field input:focus{
    border-color:
        var(--bni-red);

    box-shadow:
        0 0 0 3px
        rgba(181,18,43,.07);
}


/* ============================================================
   LOGO SOCIETE
   ============================================================ */

.register-logo-field{
    grid-column:
        1 / -1;

    margin-top:2px;

    padding:
        15px;

    background:
        var(--soft);

    border:
        1px solid
        #e1ddd7;

    border-left:
        3px solid
        var(--bni-red);

    border-radius:5px;
}

.register-logo-field label{
    display:block;

    margin-bottom:8px;

    color:#36312e;

    font-size:10px;

    font-weight:780;
}

.register-logo-field label span{
    margin-left:4px;

    color:#88817c;

    font-size:9px;

    font-weight:600;
}

.register-logo-field input[type="file"]{
    width:100%;

    min-height:40px;

    padding:6px;

    background:#fff;

    border:
        1px solid
        #d6d1cb;

    border-radius:4px;

    font-family:inherit;

    font-size:10px;
}

.register-logo-field input[type="file"]::file-selector-button{
    margin-right:9px;

    padding:
        8px
        10px;

    background:
        var(--bni-red);

    color:#fff;

    border:0;

    border-radius:3px;

    font-family:inherit;

    font-size:9px;

    font-weight:750;

    cursor:pointer;
}

.register-logo-help{
    margin-top:8px;

    color:#7c7671;

    font-size:9px;

    line-height:1.55;
}


/* ============================================================
   MESSAGES
   ============================================================ */

.register-alert{
    margin:
        0
        22px
        16px;

    padding:
        11px
        12px;

    border-radius:4px;

    font-size:10.5px;

    line-height:1.5;

    font-weight:700;
}

.register-alert-error{
    background:
        var(--danger-soft);

    color:
        var(--danger);

    border:
        1px solid
        #ecc7ce;

    border-left:
        3px solid
        var(--danger);
}

.register-alert-success{
    background:
        var(--green-soft);

    color:
        var(--green);

    border:
        1px solid
        #cce5d7;

    border-left:
        3px solid
        var(--green);
}


/* ============================================================
   ACTIONS
   ============================================================ */

.register-submit{
    width:100%;

    min-height:43px;

    display:inline-flex;

    align-items:center;
    justify-content:center;

    margin-top:17px;

    padding:
        10px
        16px;

    background:
        var(--bni-red);

    color:#fff;

    border:
        1px solid
        var(--bni-red);

    border-radius:4px;

    font-family:inherit;

    font-size:11px;

    font-weight:780;

    cursor:pointer;

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.register-submit:hover{
    background:
        var(--bni-red-dark);

    border-color:
        var(--bni-red-dark);

    transform:
        translateY(-1px);
}


/* ============================================================
   BAS DE CARTE
   ============================================================ */

.register-bottom{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:14px;

    padding:
        15px
        22px;

    background:
        #faf9f7;

    border-top:
        1px solid
        var(--line);
}

.register-login{
    color:#76706b;

    font-size:10px;

    line-height:1.4;
}

.register-login a{
    color:
        var(--bni-red);

    font-weight:780;

    text-decoration:none;
}

.register-login a:hover{
    text-decoration:underline;
}

.register-back{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-height:34px;

    padding:
        7px
        10px;

    background:#fff;

    color:#555;

    border:
        1px solid
        #ddd7d1;

    border-radius:4px;

    text-decoration:none;

    font-size:9px;

    font-weight:700;
}


/* ============================================================
   FOOTER
   ============================================================ */

.register-footer{
    margin-top:17px;

    color:
        rgba(255,255,255,.80);

    text-align:center;

    font-size:9.5px;
}


/* ============================================================
   TABLETTE
   ============================================================ */

@media(max-width:800px){

    .register-shell{
        padding:
            14px
            12px
            30px;
    }

    .register-brand{
        grid-template-columns:
            120px
            1fr
            155px;

        padding:
            13px
            16px;
    }

    .register-brand-bni img{
        max-width:105px;
        max-height:48px;
    }

    .register-brand-fg img{
        max-width:145px;
        max-height:39px;
    }

    .register-brand-center strong{
        padding:
            7px
            9px;

        font-size:10px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:600px){

    .register-brand{
        grid-template-columns:
            minmax(90px,1fr)
            minmax(135px,1.35fr);

        grid-template-areas:
            "bni fg"
            "title title";

        gap:
            11px
            14px;

        padding:14px;

        border-radius:6px;
    }

    .register-brand-bni{
        grid-area:bni;
    }

    .register-brand-fg{
        grid-area:fg;
    }

    .register-brand-center{
        grid-area:title;
    }

    .register-brand-center strong{
        white-space:normal;
    }

    .register-intro{
        padding:
            17px
            16px;

        border-radius:6px;
    }

    .register-intro h1{
        font-size:21px;
    }

    .register-card{
        border-radius:6px;
    }

    .register-card-head{
        padding:
            17px
            16px
            14px;
    }

    .register-alert{
        margin:
            0
            16px
            14px;
    }

    .register-form{
        padding:
            18px
            16px;
    }

    .register-grid{
        grid-template-columns:1fr;

        gap:13px;
    }

    .register-field-full,
    .register-logo-field{
        grid-column:auto;
    }

    .register-bottom{
        align-items:flex-start;

        flex-direction:column;

        padding:
            14px
            16px;
    }

    .register-back{
        width:100%;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        transition:none !important;
    }

}



/* CSP static inline-style migration 22I1D */
div.register-alert.register-spacing-top{margin-top:16px;}
