@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
body.login {
    /*background: linear-gradient(135deg, #4e2b9c, #5a3cbb, #7681e4, #c0e0e8);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;*/
    /*background: url('background-login-2.jpg') no-repeat center center fixed;
    background-size: cover;*/
    font-family: "Nunito", sans-serif;
    overflow:hidden;
    position: relative;
    background: #333 !important;
    z-index: 1;
}

.login-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation-name: crossfade;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    pointer-events: none;
    z-index: -1;
}

@keyframes crossfade {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    35%  { opacity: 1; }
    45%  { opacity: 0; }
    100% { opacity: 0; }
}
label{
    font-family: "Nunito", sans-serif;
    font-weight:bold;
}
.login h1 a {
    display: none;
}
.login h1::after {
    content: "Connexion à l'administration";
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height:27px;
    z-index:99;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.login form {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
}
.login form input[type="text"],
.login form input[type="password"] {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    border-radius: 30px;
    width: 100%;
    margin-bottom: 15px;
    color: #fff;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 5px;
}
.login form input[type="text"]::placeholder,
.login form input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.login form input[type="submit"] {
    background-color: #ffffff;
    color: #221d2c;
    padding: 8px 20px!important;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    margin-top:10px;
}
.login form input[type="submit"]:hover {
    background-color: #222;
    color:#fff;
}
.login #nav,
.login #backtoblog {
    text-align: center;
    color: #fff;
    margin-top: 15px;
}
.login #nav a,
.login #backtoblog a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.login #nav a:hover,
.login #backtoblog a:hover {
    text-decoration: underline;
}
.login h1 a {
    display: none;
}
.login .language-switcher .button{
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 12px;
    text-align: center;
    display: block;
    margin-top: 20px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
    padding: 0;
}