/* ==========================================================================
   BANDPAL LOGIN
   Für native WordPress-Login-Seite (wp-login.php)
   ========================================================================== */

/* -------------------------------------------------- */
/* TOKENS – falls bp-colors.css auf wp-login nicht lädt */
/* -------------------------------------------------- */
:root{
  --bp-text:       #D3D3D3;
  --bp-text-dim:   #9A9A9A;

  --bp-grey-1:     #141414;
  --bp-grey-2:     #181818;
  --bp-grey-3:     #1D1D1D;
  --bp-grey-4:     #2C2C2C;
  --bp-grey-5:     #464646;
  --bp-grey-6:     #8A8A8A;

  --bp-app:        #000000;

  --bp-red:        #D94A4A;
  --bp-red-dark:   #A93232;

  --bp-green:      #58B368;
  --bp-green-dark: #3E8E4C;

  --bp-system:     #4A90E2;
  --bp-system-dark:#2E5F99;

  --bp-attn:       #D9A441;
  --bp-attn-dark:  #9C7226;

  --bp-radius:     0px;
  --bp-radius-sm:  0px;

  --bp-shadow:     0 10px 30px rgba(0,0,0,0.35);
}

/* -------------------------------------------------- */
/* PAGE */
/* -------------------------------------------------- */
body.login{
  margin: 0;
  /* background:
    radial-gradient(circle at top left, rgba(74,144,226,0.10), transparent 35%),
    radial-gradient(circle at bottom right, rgba(217,74,74,0.08), transparent 35%),
    linear-gradient(180deg, var(--bp-grey-1) 0%, var(--bp-app) 100%); */
  color: var(--bp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* optional: subtiler dunkler Overlay-Look */
body.login::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}

body.login #bp-footer-logo{
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

body.login #bp-footer-logo a{
  display: inline-block;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

body.login #bp-footer-logo a:hover{
  opacity: 1;
}

body.login #bp-footer-logo img{
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 50px;
}

/* -------------------------------------------------- */
/* LOGIN WRAP */
/* -------------------------------------------------- */
.login #login{
  width: 100%;
  max-width: 380px;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------- */
/* LOGO */
/* -------------------------------------------------- */
.login h1{
  margin-bottom: 18px;
}

.login h1 a{
  width: 350px;

  margin: 0 auto 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* HIER dein Logo eintragen */
  background-image: url('/wp-content/plugins/bandpal/assets/pics/bandpal2.svg');
  text-indent: -9999px;
  overflow: hidden;
}

/* Claim unter Logo */
.login h1::after{
  content: "gotta manage a Band";
  display: block;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bp-text);
  margin-top: 8px;
}

/* -------------------------------------------------- */
/* FORM BOX */
/* -------------------------------------------------- */
.login form{
  background: rgba(24,24,24,0.92);
  border: 1px solid var(--bp-grey-4);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow);
  padding: 28px 24px 24px;
}

.login label{
  color: var(--bp-text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

/* -------------------------------------------------- */
/* INPUTS */
/* -------------------------------------------------- */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"]{
  background: var(--bp-grey-3);
  color: var(--bp-text);
  border: 1px solid var(--bp-grey-4);
  border-radius: var(--bp-radius-sm);
  box-shadow: none;
  min-height: 46px;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus{
  border-color: var(--bp-system);
  box-shadow: 0 0 0 3px rgba(74,144,226,0.16);
  outline: none;
  background: var(--bp-grey-2);
}

/* -------------------------------------------------- */
/* REMEMBER ME */
/* -------------------------------------------------- */
.login .forgetmenot{
  margin-top: 6px;
}

.login .forgetmenot label{
  color: var(--bp-text-dim);
  font-weight: 500;
}

.login input[type="checkbox"]{
  accent-color: var(--bp-system);
}

/* -------------------------------------------------- */
/* BUTTON */
/* -------------------------------------------------- */
.login .button-primary{
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: var(--bp-radius-sm);
  background: linear-gradient(180deg, var(--bp-system) 0%, var(--bp-system-dark) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow: none;
  transition: transform 0.15s ease, filter 0.2s ease, opacity 0.2s ease;
}

.login .button-primary:hover,
.login .button-primary:focus{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.login .button-primary:active{
  transform: translateY(0);
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large {
  background: var(--bp-system-dark);
  border: solid 1px var(--bp-system);
  color: var(--bp-system);
  display: block;
  width: 100%;
  margin-top: 20px;
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large:hover {
  background: var(--bp-system);
  border: solid 1px var(--bp-system-dark);
  color: var(--bp-system-dark);

}

/* -------------------------------------------------- */
/* LINKS */
/* -------------------------------------------------- */
.login #nav
{
  text-align: center;
  padding: 0;
}

.login #backtoblog{
  display: none;
}

.login #nav a,
.login #backtoblog a{

text-decoration: none;
transition: color 0.2s ease;
color: var(--bp-system);
background: var(--bp-system-dark);
border: solid 1px var(--bp-system);
padding: 6px;
display: block;
}

.login #nav a:hover,
.login #backtoblog a:hover{
color: var(--bp-system-dark);
background: var(--bp-system);
border: solid 1px var(--bp-system-dark);
}

/* -------------------------------------------------- */
/* FEHLERMELDUNGEN */
/* -------------------------------------------------- */
.login .message,
.login .success,
.login #login_error{
  background: var(--bp-grey-2);
  color: var(--bp-text);
  border: 1px solid var(--bp-grey-4);
  border-left: 4px solid var(--bp-attn);
  border-radius: 12px;
  box-shadow: none;
}

.login #login_error{
  border-left-color: var(--bp-red);
}

.login .success{
  border-left-color: var(--bp-green);
}

/* -------------------------------------------------- */
/* UNNÖTIGES AUSBLENDEN */
/* -------------------------------------------------- */
/* Sprachauswahl weg */
.login .language-switcher{
  display: none !important;
}

/* optional: WordPress-Logo-Link unten / Datenschutz etc. sauber halten */
.login .privacy-policy-page-link{
  text-align: center;
}

.login .privacy-policy-page-link a{
  color: var(--bp-text-dim);
}

/* -------------------------------------------------- */
/* PASSKEY / EXTRA LOGIN BUTTONS */
/* -------------------------------------------------- */
.login .button,
.login input[type="submit"],
.login .wp-generate-pw{
  border-radius: var(--bp-radius-sm);
}

/* -------------------------------------------------- */
/* MOBILE */
/* -------------------------------------------------- */
@media (max-width: 480px){
  .login #login{
    padding: 20px 14px;
  }

  .login form{
    padding: 22px 18px 18px;
  }

  .login h1 a{
    width: 150px;
    height: 60px;
  }
}