@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
:root {
    --font-base: "Quicksand", sans-serif;
    --color-bg: #ffffff;
    --color-text: #ffffff;
    --color-accent: #0073aa;
}

html, body {
    height: 100%;
    margin: 0;
}

.language-switcher {
    display: none;
}
body {
    min-height: 100vh; /* couvre toujours tout l’écran */
}

body {
    font-family: var(--font-base) !important;
    background-color: #182647; /* fallback sous le gradient */
    background-image: linear-gradient(
            to bottom,
            #2c4077 0%,
            #243b6a 60%,
            #182647 100%
    );
    background-repeat: no-repeat;
    background-attachment: fixed;    /* colle le gradient à la fenêtre */
    background-size: cover;          /* étire le gradient sur toute la boîte */
}

body.login .login form {
    width: 500px !important;      /* ta largeur désirée */
    max-width: 90% !important;    /* fallback responsive */
    margin: 0 auto !important;    /* centre */
    box-sizing: border-box;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
}


.login h1 a {
    display: block !important;
    background-image: url("../images/logo-drakkar-beauce.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 300px !important;
    height: 120px !important;
    padding-bottom: 0 !important; /* annule le padding WP */
}

#nav, #backtoblog {
    text-align: center;
}

#nav a, #backtoblog a {
    color: #ffffff !important;
}

.nsl-button-label-container {
    font-size: 0.9rem !important;
}

#login {
    width: 90% !important;
    max-width: 400px !important;
}

.login label {
    display: block;
    width: 100%;
}

.nsl-container {
    text-align: center !important;
}

.nsl-container-buttons {
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
}

.cf-turnstile {
    text-align: center !important;
    margin-top: 20px !important;
}


#nsl-custom-login-form-main::before {
    content: "- OU -";
    display: block;
    margin-top: 40px;
    padding-top: 40px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: #555;
}

#login #wp-submit {
    width: 100% !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
}

#reg_passmail {
    display: none;
}

.login .drakkar-register-info {
    background: #eaf4ff;
    border-left: 4px solid #2c4077;
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #333;
}