/* -----------------------------------------------------------
   Food2You wp-login styling
   Replace the logo URL below with your own.
------------------------------------------------------------ */

:root{
  --f2y-red: #9e1e0c;     /* sampled from your screenshot */
  --f2y-yellow: #ffd004;  /* close to screenshot button/logo yellow */
  --f2y-white: #ffffff;
}

body.login{
  background: var(--f2y-red);
}

/* Remove WP's default "card" look */
body.login #login{
  width: 340px;
  padding: 0;
  margin: 60px auto 0;
}

body.login form{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 18px;
}

body.login .message,
body.login #login_error,
body.login .success{
  border-left: 4px solid var(--f2y-yellow);
}

/* Logo */
body.login h1{
  margin: 0 0 12px 0;
}

body.login h1 a{
  background-image: url('/wp-content/uploads/2025/11/F2Y-Logo-Bordered.svg'); /* change this */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 220px;
  height: 220px;
  padding: 0;
  margin: 0 auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* Labels */
body.login label{
  color: var(--f2y-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Inputs - flat white rectangles */
body.login input[type="text"],
body.login input[type="password"]{
  background: var(--f2y-white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  padding: 10px 12px;
  min-height: 40px;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus{
  outline: 2px solid rgba(255, 208, 4, 0.6);
  box-shadow: none;
}

/* Remember me + button row */
body.login p.forgetmenot{
  float: left;
  margin: 14px 0 0 0;
}

body.login p.forgetmenot label{
  font-size: 14px;
  font-weight: 600;
  color: var(--f2y-white);
}

body.login input[type="checkbox"]{
  border-radius: 0;
  margin-top: 2px;
}

/* Button: yellow with red text, square corners */
body.login p.submit{
  float: right;
  margin: 10px 0 0 0;
}

body.login .button-primary{
  background: var(--f2y-yellow);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--f2y-red);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  padding: 10px 18px;
  min-height: 40px;
  text-shadow: none;
}

body.login .button-primary:hover,
body.login .button-primary:focus{
  background: var(--f2y-yellow);
  color: var(--f2y-red);
  filter: brightness(0.96);
  box-shadow: none;
}

/* Clear floats after remember/button row */
body.login form::after{
  content: "";
  display: block;
  clear: both;
}

/* Links (Lost password + Back to site) */
body.login #nav,
body.login #backtoblog{
  text-align: center;
  margin: 18px 0 0 0;
  padding: 0;
}

body.login #nav a,
body.login #backtoblog a{
  color: var(--f2y-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

body.login #nav a:hover,
body.login #backtoblog a:hover{
  text-decoration: underline;
}

/* Optional: hide the language switcher if it appears */
body.login .language-switcher{
  display: none;
}

/* Turnstile spacing, if enabled */
body.login .cf-turnstile{
  margin: 14px 0 6px;
}
