body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%)!important;
  min-height: 100vh;
}

/* Main container */
/* Global background */
html,
body.login {
  min-height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
}

/* Top banner */
body.login::before {
  content: "";
  display: block;
  width: 100%;
  height: 300px;
  background: url('https://levesinetaucoeur.com/wp-content/uploads/2026/03/Bandeau-LVaC.png') center center / cover no-repeat;
}

/* Center the whole login block */
body.login #login {
  width: 420px;
  max-width: calc(100% - 32px);
  margin: -80px auto 0 !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 2;
}

/* Optional intro text above the form */
#loginform::before {
  content: "L'accès à ce site est restreint";
  display: block;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Login card */
#loginform {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10) !important;
  padding: 28px !important;
}

/* ===== Logo block ===== */
.login h1 a,
.login #password-protected-logo a {
  background-image: url('https://levesinetaucoeur.com/wp-content/uploads/2025/05/cropped-cropped-Logo-LVaC-cartouche-rvb-med.png');
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 200px !important;
  height: 200px !important;
}

/* Labels */
#login form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

/* Remember me */
.forgetmenot {
  margin: 18px 0 22px;
}

.forgetmenot label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.forgetmenot input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Submit button */
#loginform .submit {
  margin: 0;
}
/* Hide / show */
.wp-core-ui .button, .wp-core-ui .button-secondary {
    color: #121212;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;
}
/* Button */
#wp-submit {
    background: #2BB3BA!important;
    display: inline-block;
    border-radius: 2px!important;
    cursor: pointer;
    color: #FFF;
    font-family: nuckle;
    font-size: 12px;
    font-weight: 700;
    padding: .2em 30px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 10px 2px #aaa;
    border: none;
    margin-top: 10px;
}

#wp-submit:hover,
#wp-submit:focus {
    background: rgb(107 174 184 / .75);
    color: #FFF;
}


/* Remove WP-ish extras if present */
#nav,
#backtoblog,
.language-switcher {
  display: none !important;
}




