/* =====================================
           CONTENEUR PRINCIPAL
        ===================================== */

        .bs-login-wrap {

            width: 100%;

            max-width: 520px;

            margin: 72px auto 96px;

            padding: 0 20px;

            box-sizing: border-box;

        }



        /* =====================================
           CARTE
        ===================================== */

        .bs-login-card {

            width: 100%;

            box-sizing: border-box;

            padding: 40px;

            background: #ffffff;

            border: 1px solid #E5E7EB;

            border-radius: 16px;

            box-shadow:
                0 2px 6px rgba(15, 23, 42, 0.04),
                0 14px 35px rgba(15, 23, 42, 0.06);

        }



        /* =====================================
           EN-TÊTE DU FORMULAIRE
        ===================================== */

        .bs-login-header {

            margin-bottom: 32px;

        }


        .bs-login-header h1 {

            margin: 0 0 8px;

            font-size: 32px;

            line-height: 1.2;

            font-weight: 700;

            color: #111827;

        }


        .bs-login-header p {

            margin: 0;

            font-size: 16px;

            line-height: 1.6;

            font-weight: 400;

            color: #667085;

        }



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

        #biblioshift-login-form {

            width: 100%;

            margin: 0;

        }


        #biblioshift-login-form p {

            margin: 0 0 22px;

        }



        /* =====================================
           LABELS
        ===================================== */

        #biblioshift-login-form label {

            display: block;

            margin: 0 0 8px;

            font-size: 15px;

            line-height: 1.4;

            font-weight: 600;

            color: #1F2937;

        }



        /* =====================================
           CHAMPS
        ===================================== */

        #biblioshift-login-form input[type="text"],
        #biblioshift-login-form input[type="password"] {

            display: block;

            width: 100%;

            max-width: none;

            height: 50px;

            box-sizing: border-box;

            padding: 0 14px;

            background: #ffffff;

            border: 1px solid #D0D5DD;

            border-radius: 8px;

            outline: none;

            font-size: 16px;

            color: #111827;

            transition:
                border-color 0.15s ease,
                box-shadow 0.15s ease;

        }


        #biblioshift-login-form input[type="text"]:focus,
        #biblioshift-login-form input[type="password"]:focus {

            border-color: #0057FF;

            box-shadow:
                0 0 0 3px rgba(0, 87, 255, 0.12);

        }



        /* =====================================
           SE SOUVENIR DE MOI
        ===================================== */

        #biblioshift-login-form .login-remember {

            margin: 4px 0 28px;

        }


        #biblioshift-login-form .login-remember label {

            display: flex;

            align-items: center;

            gap: 10px;

            margin: 0;

            font-size: 15px;

            font-weight: 500;

            cursor: pointer;

        }


        #biblioshift-login-form input[type="checkbox"] {

            width: 18px;

            height: 18px;

            margin: 0;

            accent-color: #0057FF;

        }



        /* =====================================
           BOUTON SE CONNECTER
        ===================================== */

        #biblioshift-login-form .login-submit {

            margin: 0;

        }


        #bs-login-submit {

            display: block;

            width: 100%;

            min-height: 50px;

            box-sizing: border-box;

            margin: 0;

            padding: 13px 20px;

            border: none;

            border-radius: 8px;

            background: #0057FF;

            color: #ffffff;

            font-size: 16px;

            line-height: 1.3;

            font-weight: 600;

            cursor: pointer;

            transition:
                background-color 0.15s ease,
                transform 0.15s ease,
                box-shadow 0.15s ease;

        }


        #bs-login-submit:hover {

            background: #004BE0;

            transform: translateY(-1px);

            box-shadow:
                0 6px 14px rgba(0, 87, 255, 0.20);

        }


        #bs-login-submit:active {

            transform: translateY(0);

        }



        /* =====================================
           LIENS SOUS LE FORMULAIRE
        ===================================== */

        .bs-login-links {

            margin-top: 24px;

            text-align: center;

        }


        .bs-forgot-password {

            display: inline-block;

            color: #0057FF;

            font-size: 14px;

            font-weight: 500;

            text-decoration: none;

        }


        .bs-forgot-password:hover {

            text-decoration: underline;

        }



        /* =====================================
           SÉPARATEUR
        ===================================== */

        .bs-login-separator {

            width: 100%;

            height: 1px;

            margin: 24px 0;

            background: #E5E7EB;

        }



        /* =====================================
           CRÉER UN COMPTE
        ===================================== */

        .bs-register {

            margin: 0;

            color: #667085;

            font-size: 15px;

            line-height: 1.5;

        }


        .bs-register a {

            color: #0057FF;

            font-weight: 600;

            text-decoration: none;

        }


        .bs-register a:hover {

            text-decoration: underline;

        }



        /* =====================================
           UTILISATEUR DÉJÀ CONNECTÉ
        ===================================== */

        .bs-login-connected {

            text-align: center;

        }


        .bs-login-connected h1 {

            margin: 0 0 10px;

            color: #111827;

            font-size: 28px;

            line-height: 1.25;

            font-weight: 700;

        }


        .bs-login-connected p {

            margin: 0 0 26px;

            color: #667085;

            font-size: 16px;

            line-height: 1.6;

        }



        /* =====================================
           ACCÉDER À MES COURS
        ===================================== */

        .bs-login-main-link {

            display: block;

            width: 100%;

            box-sizing: border-box;

            padding: 14px 20px;

            border-radius: 8px;

            background: #0057FF;

            color: #ffffff !important;

            font-size: 16px;

            line-height: 1.3;

            font-weight: 600;

            text-align: center;

            text-decoration: none !important;

            transition:
                background-color 0.15s ease,
                transform 0.15s ease,
                box-shadow 0.15s ease;

        }


        .bs-login-main-link:hover {

            background: #004BE0;

            transform: translateY(-1px);

            box-shadow:
                0 6px 14px rgba(0, 87, 255, 0.20);

        }


        .bs-login-main-link:active {

            transform: translateY(0);

        }



        /* =====================================
           RETOUR À L'ACCUEIL
        ===================================== */

        .bs-login-secondary-link {

            display: inline-block;

            margin-top: 22px;

            color: #0057FF !important;

            font-size: 14px;

            line-height: 1.5;

            font-weight: 500;

            text-decoration: none !important;

        }


        .bs-login-secondary-link:hover {

            text-decoration: underline !important;

        }



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

        @media (max-width: 600px) {


            .bs-login-wrap {

                margin: 32px auto 56px;

                padding: 0 16px;

            }


            .bs-login-card {

                padding: 28px 22px;

                border-radius: 14px;

            }


            .bs-login-header {

                margin-bottom: 28px;

            }


            .bs-login-header h1 {

                font-size: 28px;

            }


            .bs-login-header p {

                font-size: 15px;

            }


            #biblioshift-login-form input[type="text"],
            #biblioshift-login-form input[type="password"] {

                height: 50px;

                font-size: 16px;

            }


            #bs-login-submit {

                min-height: 50px;

                font-size: 16px;

            }


            .bs-login-connected h1 {

                font-size: 26px;

            }


            .bs-login-connected p {

                font-size: 15px;

            }


        }

/* =====================================
   MESSAGE D'ERREUR AUTH UX 0.1.0
===================================== */

.bs-login-alert {
    margin: 0 0 24px;
    padding: 12px 14px;
    border: 1px solid #FECACA;
    border-radius: 8px;
    background: #FEF2F2;
    color: #991B1B;
    font-size: 14px;
    line-height: 1.5;
}
