/* Login page (clean, no theme header/footer) */

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #c9191d 0%, #a31215 100%);
  overflow-x: hidden;
}

/* Neutralize any theme container constraints for this standalone page. */
#page,
#content,
#primary,
.site,
.site-content,
.site-main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Grid: left scrolls with the document; right is fixed and always fills the viewport height.
   This matches the TS behavior: only the left column scrolls (via the document), while the
   right panel stays pinned and never reveals white space.
*/
.fp-login {
  width: 100%;
  min-height: 100vh;
}


.fp-login__grid {
  position: relative;
  min-height: 100vh;
}

/* Reserve space for the fixed right panel. */
.fp-login__left {
  width: 50vw;
  min-width: 0;
  background: linear-gradient(180deg, #c9191d 0%, #a31215 100%);
}

/* LEFT */
.fp-login__left {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
}

/* RIGHT (fixed full height/width, no gaps) */
.fp-login__right {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #c9191d 0%, #a31215 100%);
}

/* Make sure the fixed right panel doesn't create horizontal overflow. */
.fp-login__grid { overflow-x: clip; }

.fp-login-hero {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  }

.fp-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .10;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.25), transparent 45%);
  pointer-events: none;
}

/* Mobile / narrow screens: stack and allow the hero to become a normal block. */
@media (max-width: 1023px) {
  .fp-login__left {
    width: 100%;
    padding: 24px;
  }
  .fp-login__right {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 420px;
  }
}

.fp-login-hero__inner {
  position: relative;
  z-index: 1;
  width: min(520px, 92%);
  text-align: center;
}

.fp-login-hero__title {
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 44px;
  color: #f6b21a; /* theme yellow */
}

.fp-login-hero__sub {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.95);
}

.fp-login-hero__stats {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: baseline;
  margin-top: 6px;
}

.fp-login-hero__stats strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.fp-login-hero__stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: rgba(255,255,255,.95);
}

/* Card + form (reusing existing class names) */
.fp-login-card { width: 100%; max-width: 520px; }

.fp-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.fp-login-brand .fp-login-logo-img,
.fp-login-brand .custom-logo-link,
.fp-login-brand img {
  display: block;
  max-width: 110px;
  height: auto;
}

.fp-login-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
}

.fp-login-title-row .fp-login-line {
  height: 3px;
  width: 60px;
  background: #c9191d;
}

.fp-login-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fp-login-subtitle {
  margin: 0 0 18px;
  color: #667085;
}

.fp-login-box {
  background: linear-gradient(180deg, #c9191d 0%, #a31215 100%);
  border-radius: 14px;
  border: 1px solid #e6eaf0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
  padding: 28px;
}

.fp-login-form label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #101828;
}

.fp-login-remember,
.fp-login-remember span {
  color: #101828;
}


.fp-login-form input[type="text"],
.fp-login-form input[type="email"],
.fp-login-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccd5e1;
  background: #f8fafc;
  outline: none;
}

.fp-login-form input:focus {
  border-color: #c9191d;
  box-shadow: 0 0 0 3px rgba(201,25,29,.12);
}

.fp-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.fp-login-forgot a { color: #c9191d; text-decoration: none; }
.fp-login-forgot a:hover { text-decoration: underline; }

.fp-login-submit {
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0;
  background: #c9191d;
  color: #fff;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.fp-login-submit:hover { filter: brightness(.97); }

.fp-login-block,
.fp-login-notice {
  margin-top: 16px;
  background: linear-gradient(180deg, #c9191d 0%, #a31215 100%);
  border-radius: 14px;
  border: 1px solid #e6eaf0;
  padding: 18px 20px;
}

.fp-login-cta {
  display: inline-block;
  margin-top: 12px;
  background: #f7b500;
  color: #101828;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
}

/* Responsive (type scale only). Layout stacking is handled above at 1023px. */
@media (max-width: 980px) {
  .fp-login-hero { min-height: 460px; }
  .fp-login__left { padding: 26px 18px; }
  .fp-login-hero__title { font-size: 34px; }
}

.fp-login-block h3,
.fp-login-notice h4,
.fp-login-block p,
.fp-login-notice p {
  color: #ffffff;
}
