body {
    color: #4a4a4a;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    background-color: #e3e3e3;
    width: 100vw;
    min-height: calc(100vh - 3.25rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding-left: 41%;
    padding-right: 3%;
    margin: 0;
}

body::before {
    content: '';
    position: fixed;
    right: 55%;
    width: 45%;
    height: 100vh;
    background-image: url('/images/fronton_accueil_Edwin5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    margin-top: 5px;
    box-shadow: -10px 0 20px #7c7b7b;
}

.navbar.is-login {
    background: linear-gradient(to right, #009ee0 0%, #006893 70%);
    color: #ffffff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.navbar-item.logo {
    display: flex;
    align-items: center;
}

.navbar-item.logo img {
    max-height: 40px;
    width: auto;
}

/* LOGIN BOX RESPONSIVE */
.login-box {
    max-width: 480px;
    width: 150%;
    margin: 80px 0 20px 0;
    position: relative;
    z-index: 3;
}

.login-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.title {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a4a4a;
}

.form-field input,
.input.is-login {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 2px 1px 1px #cacaca;
    transition: all 0.3s ease;
}

.form-field input:focus,
.input.is-login:focus {
    outline: none;
    border-color: #009ee0;
    box-shadow: 0 0 0 2px rgba(0, 158, 224, 0.2);
}

.button.is-info.is-login,
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #009ee0 0%, #006893 70%);
    border-color: transparent;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button.is-info.is-login:hover,
.btn-login:hover {
    background: linear-gradient(to right, #007bb8 0%, #005577 70%);
    transform: translateY(-1px);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #009ee0;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    color: #d63031;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

footer {
    width: 100%;
    max-width: 480px;
    border-radius: 10px;
    padding: 40px !important;
    margin: auto;
}

pre {
    background-color: #fff0 !important;
    color: #000 !important;
    padding: 10px 0 !important;
}

/* RESPONSIVE TABLETTES */
@media screen and (max-width: 1024px) {
    body {
        padding-left: 10%;
        padding-right: 5%;
    }

    body::before {
        display: none;
    }

    .navbar.is-login {
        padding: 12px 15px;
    }

    .login-box {
        max-width: 420px;
        padding: 60px 40px;
        margin-top: 70px;
    }

    .login-form {
        padding: 25px;
    }
}

/* RESPONSIVE PETITES TABLETTES */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
        justify-content: flex-start;
        padding-top: 80px;
    }

    body::before {
        display: none;
    }

    .navbar.is-login {
        padding: 10px 15px;
        position: fixed;
        width: 100%;
    }

    .navbar-item.logo img {
        max-height: 35px;
    }

    .login-box {
        max-width: 450px;
        width: 90%;
        padding: 40px 20px;
        margin: 20px auto;
    }

    .login-form {
        padding: 20px;
    }

    .title {
        font-size: 1.3em;
    }
}

/* RESPONSIVE MOBILES */
@media screen and (max-width: 480px) {
    body {
        padding: 0;
        padding-top: 70px;
        min-height: 100vh;
    }

    body::before {
        display: none;
    }

    .navbar.is-login {
        padding: 8px 12px;
        position: fixed;
        width: 100%;
        top: 0;
    }

    .navbar-item.logo img {
        max-height: 30px;
    }

    .login-box {
        max-width: 100%;
        width: 95%;
        padding: 20px 10px;
        margin: 10px auto;
    }

    .login-form {
        padding: 20px 15px;
    }

    .title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .form-field {
        margin-bottom: 15px;
    }

    .form-field input,
    .input.is-login {
        padding: 10px 12px;
        font-size: 16px;
    }

    .button.is-info.is-login,
    .btn-login {
        padding: 12px;
        font-size: 16px;
    }
}
/* RESPONSIVE PETITS MOBILES */
@media screen and (max-width: 360px) {
    body {
        padding-top: 65px;
    }

    body::before {
        display: none;
    }

    .navbar.is-login {
        padding: 6px 10px;
    }

    .navbar-item.logo img {
        max-height: 28px;
    }

    .login-box {
        width: 98%;
        padding: 15px 8px;
    }

    .login-form {
        padding: 15px 12px;
    }

    .title {
        font-size: 1.1em;
    }

    .form-field input,
    .input.is-login {
        padding: 8px 10px;
    }
}

.columns.pt-5.is-login{
    display: grid !important;
    padding-left: 30% !important;
    margin: 0;
    padding-top: 20% !important;
}

.column.is-login.is-one-third{
    width: 705px !important;
}

.ml-3.is-login{
    color: white;
}

.is-login.is-barre{
    background: #ccc;
}
