/**
 * DC Benk — Page de connexion personnalisée
 * Bleu marque : #0092d5
 */

/* Fond — couleur injectée en inline style depuis PHP (configurable dans DC Benk) */

/* Logo — background-image injectée en inline style depuis PHP (ID média configurable) */
#login h1 a,
.login h1 a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 280px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

/* Formulaire — carte blanche */
#loginform,
#lostpasswordform,
#registerform {
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    padding: 28px 28px 20px;
}

/* Labels */
.login label {
    color: #3c3c3b;
    font-weight: 600;
}

/* Champs */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border-radius: 4px;
    border-color: #ccc;
    box-shadow: none;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #0092d5;
    box-shadow: 0 0 0 2px rgba(0, 146, 213, 0.25);
    outline: none;
}

/* Bouton */
.login .button-primary,
#wp-submit {
    background-color: #0092d5 !important;
    border-color: #0078b0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-weight: 600 !important;
    width: 100%;
    padding: 10px !important;
    height: auto !important;
    font-size: 15px !important;
    transition: background-color 0.2s ease !important;
}

.login .button-primary:hover,
#wp-submit:hover {
    background-color: #0078b0 !important;
    border-color: #005f8e !important;
}

/* Liens #nav */
.login #nav {
    text-align: center;
}

.login #nav a {
    color: #0092d5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.login #nav a:hover {
    color: #0078b0;
    text-decoration: underline;
}

/* Lien "retour au site" */
.login #backtoblog a {
    color: #fff;
    text-decoration: none;
}

.login #backtoblog a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Message d'erreur */
#login_error {
    border-left-color: #c0392b;
}

/* Lien "retour au site" discret */
#backtoblog {
    text-align: center;
}
