/* ==========================================================================
   Codehive Authentication - Luxury Modern & Professional Design
   Applies to Student, Teacher, Admin, and Manager Portals
   ========================================================================== */

/* Page Background with Warm Ambient Radial Mesh */
body.auth-page.auth-refresh {
  background-color: #f8f6f2;
  background-image: 
    radial-gradient(at 10% 12%, rgba(255, 175, 50, 0.12) 0px, transparent 48%),
    radial-gradient(at 90% 88%, rgba(245, 130, 20, 0.08) 0px, transparent 48%),
    radial-gradient(rgba(180, 120, 40, 0.06) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
  min-height: 100vh;
  margin: 0;
  color: #241d17;
}

/* Outer Two-Column Card Shell */
.auth-page.auth-refresh .login-layout {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 640px;
  margin: 0 auto 68px;
  padding: 9px;
  border: 1px solid rgba(228, 220, 208, 0.95);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 
    0 24px 70px -12px rgba(45, 25, 10, 0.12),
    0 4px 20px -2px rgba(45, 25, 10, 0.04);
  gap: 10px;
  box-sizing: border-box;
  align-items: stretch;
}

/* ==========================================================================
   1. Left Showcase Panel (The Brand & Experience Side)
   ========================================================================== */
.auth-page.auth-refresh .login-showcase {
  border-radius: 18px;
  background: 
    radial-gradient(circle at 85% 15%, rgba(255, 160, 40, 0.26) 0%, transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(210, 110, 20, 0.16) 0%, transparent 50%),
    linear-gradient(155deg, #1b1713 0%, #2a221a 60%, #1a1612 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.auth-page.auth-refresh .login-showcase:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -170px;
  top: -160px;
  border: 1px solid rgba(255, 201, 119, 0.15);
  border-radius: 50%;
  box-shadow: 
    0 0 0 65px rgba(255, 201, 119, 0.04),
    0 0 0 130px rgba(255, 201, 119, 0.03);
  pointer-events: none;
}

.auth-page.auth-refresh .login-showcase-content {
  padding: 40px 36px 28px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.auth-page.auth-refresh .login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #f5c480;
  text-transform: uppercase;
  background: rgba(245, 196, 128, 0.1);
  border: 1px solid rgba(245, 196, 128, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}

.auth-page.auth-refresh .login-eyebrow-mark {
  font-size: 15px;
  color: #ff9f1a;
  line-height: 1;
}

.auth-page.auth-refresh .login-showcase h1 {
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.14;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin: 18px 0 10px;
  color: #ffffff;
}

.auth-page.auth-refresh .login-showcase h1 em {
  color: #ffca7a;
  font-style: normal;
  display: inline-block;
}

.auth-page.auth-refresh .login-showcase p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #c9bea9;
  margin: 0;
  max-width: 380px;
}

/* Feature Pathway Step Cards */
.auth-page.auth-refresh .login-pathway {
  display: grid;
  gap: 9px;
  margin: 2px 0;
}

.auth-page.auth-refresh .login-pathway > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.22s ease;
}

.auth-page.auth-refresh .login-pathway > div:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 196, 128, 0.3);
  transform: translateX(4px);
}

.auth-page.auth-refresh .login-pathway > div > span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 175, 60, 0.22), rgba(255, 140, 20, 0.12));
  border: 1px solid rgba(255, 185, 75, 0.4);
  color: #ffca7a;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.auth-page.auth-refresh .login-pathway p {
  margin: 0;
  line-height: 1.45;
}

.auth-page.auth-refresh .login-pathway strong {
  display: block;
  color: #f7efe6;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 3px;
}

.auth-page.auth-refresh .login-pathway small {
  display: block;
  color: #b7a892;
  font-size: 11px;
  line-height: 1.55;
}

/* A restrained visual rhythm instead of marketing-heavy social proof. */
.showcase-progress-card {
  padding: 14px 15px;
  border: 1px solid rgba(245, 196, 128, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}
.showcase-progress-copy {display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.showcase-progress-copy span {color:#e5ac61;font-size:9px;font-weight:850;letter-spacing:1.6px}
.showcase-progress-copy strong {max-width:230px;color:#f8efe5;font-size:12px;line-height:1.45;text-align:right}
.showcase-progress-path {position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.09)}
.showcase-progress-path:before {content:"";position:absolute;left:9%;right:9%;top:17px;height:1px;background:linear-gradient(90deg,#ff9f1a,#ffc56a)}
.showcase-progress-path span {position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;color:#bdae9b;font-size:9px;font-weight:700}
.showcase-progress-path i {position:relative;z-index:1;width:8px;height:8px;border:2px solid #4b3520;border-radius:50%;background:#ffad3c;box-shadow:0 0 0 3px rgba(255,173,60,.14)}

.admin-shield-icon {
  font-size: 16px;
}

.trust-copy {
  font-size: 11px;
  color: #d8cbb9;
  line-height: 1.45;
  margin-bottom: 8px;
}

.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-badges span {
  font-size: 10px;
  font-weight: 700;
  color: #92e6b0;
  background: rgba(146, 230, 176, 0.12);
  border: 1px solid rgba(146, 230, 176, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
}

.auth-page.auth-refresh .login-showcase-footer {
  border-top: 1px solid rgba(245, 196, 128, 0.15);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a4917a;
  text-transform: uppercase;
}

.auth-page.auth-refresh .login-showcase-footer small {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #887865;
  text-transform: none;
}


/* ==========================================================================
   2. Right Form Panel (High-Converting & Elegant Form)
   ========================================================================== */
.auth-page.auth-refresh .login-panel {
  padding: 0;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.auth-page.auth-refresh .login-panel-inner {
  width: 100%;
  max-width: 420px;
  padding: 30px 32px;
  box-sizing: border-box;
  margin: auto;
}

/* Panel Brand Header Lockup */
.panel-brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.auth-page.auth-refresh .login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.auth-page.auth-refresh .login-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(255, 122, 24, 0.18);
}

.auth-page.auth-refresh .login-brand span {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.6px;
  color: #1e1915;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.auth-page.auth-refresh .login-brand small {
  font-size: 8.5px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: #ab641a;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Segmented Tabs (Student / Teacher Switcher) */
.auth-page.auth-refresh .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #f3efe9;
  border-radius: 12px;
  border: 1px solid #e7ded2;
  margin: 0 0 22px;
}

.auth-page.auth-refresh .auth-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #695e52;
  text-decoration: none;
  transition: all 0.18s ease;
  min-width: 0;
  box-sizing: border-box;
}

.auth-page.auth-refresh .auth-tabs a svg {
  flex: none;
  color: #8c7d6c;
}

.auth-page.auth-refresh .auth-tabs a[aria-current="page"] {
  background: #ffffff;
  color: #ab5f14;
  box-shadow: 0 2px 8px rgba(45, 25, 10, 0.08);
  font-weight: 800;
  outline: 1px solid #e7d8c4;
}

.auth-page.auth-refresh .auth-tabs a[aria-current="page"] svg {
  color: #ab5f14;
}

.auth-page.auth-refresh .auth-tabs a:hover:not([aria-current="page"]) {
  color: #2e261f;
  background: #ece6dc;
}

/* Admin Role Badge */
.admin-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff8f0;
  border: 1px solid #f3dcbf;
  color: #9c5409;
  font-size: 12px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Headings */
.login-heading-group {
  margin-bottom: 22px;
}

.auth-page.auth-refresh .login-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #b26819;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff9015;
  display: inline-block;
  box-shadow: 0 0 6px #ff9015;
}

.auth-page.auth-refresh .login-panel h2 {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.8px;
  color: #1f1a15;
  margin: 0 0 8px;
  line-height: 1.2;
}

.auth-page.auth-refresh .login-intro {
  font-size: 13px;
  line-height: 1.6;
  color: #786d60;
  margin: 0;
  max-width: 370px;
}

/* Alerts / Notices */
.auth-page.auth-refresh .login-panel .notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
}

.auth-page.auth-refresh .login-panel .notice svg {
  flex: none;
}

.auth-page.auth-refresh .login-panel .notice.error {
  background: #fff2f0;
  border: 1px solid #fec7c0;
  color: #b22d1b;
}

.auth-page.auth-refresh .login-panel .notice.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.auth-page.auth-refresh .login-panel .notice.info {
  background: #fef8ed;
  border: 1px solid #fedbb0;
  color: #925310;
}

/* Form Fields */
.auth-page.auth-refresh .login-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.auth-field-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #362c22;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9c9183;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.auth-input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border: 1.5px solid #ded6ca;
  border-radius: 11px;
  background: #fdfcfb;
  font-size: 14px;
  color: #211b15;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-input-wrap.login-password-field input {
  padding-right: 52px !important;
}

.auth-input-wrap input::placeholder {
  color: #a4998c;
  font-weight: 400;
}

.auth-input-wrap input:focus {
  border-color: #ff9015;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 144, 21, 0.15);
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: #ff9015;
}

/* Password Visibility Toggle */
.auth-input-wrap .login-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 38px;
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #88755d;
  cursor: pointer;
  z-index: 3;
}

.auth-input-wrap .login-password-toggle:hover {
  background: #f6eee3;
  color: #ab5f14;
}

/* Remember Me & Forgot Password Row */
.auth-meta-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 6px 0 20px !important;
  width: 100% !important;
}

.auth-remember {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #55483a !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 0 !important;
  font-weight: 550 !important;
}

.auth-page .login-form label.auth-remember > input[type="checkbox"],
.auth-remember input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #c4b9a8 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  accent-color: #ff7a18 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
  flex: none !important;
}

.auth-page.auth-refresh .login-forgot {
  color: #ab5f14;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
  margin: 0 !important;
}

.auth-page.auth-refresh .login-forgot:hover {
  color: #8c4906;
  text-decoration: underline;
}

/* Primary Submit Button */
.auth-page.auth-refresh .login-submit {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff9f1a 0%, #f07409 100%);
  border: none;
  border-radius: 11px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(240, 116, 9, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* Override the older auth theme's oversized nested button label. */
.auth-page.auth-refresh .login-submit > span {
  font-size: 14px;
  line-height: 1.2;
}

.auth-page.auth-refresh .login-submit:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 24px rgba(240, 116, 9, 0.42);
  background: linear-gradient(135deg, #ffa826 0%, #f77c0e 100%);
}

.auth-page.auth-refresh .submit-arrow {
  transition: transform 0.2s ease;
  flex: none;
}

.auth-page.auth-refresh .login-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Google Sign-In & Divider */
.auth-page.auth-refresh .login-provider-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #9c9183;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-page.auth-refresh .login-provider-divider:before,
.auth-page.auth-refresh .login-provider-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8e1d7;
}

.auth-page.auth-refresh .login-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #ded7ce;
  border-radius: 11px;
  background: #ffffff;
  color: #2e261f;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.auth-page.auth-refresh .login-google-button:hover {
  border-color: #baa895;
  background: #fdfbf8;
  box-shadow: 0 4px 12px rgba(45, 25, 10, 0.08);
}

.auth-page.auth-refresh .signup-otp-explainer {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8c8072;
  text-align: center;
  margin: 14px 0 0;
}

/* Footer Switcher & Links */
.auth-panel-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ede7df;
  text-align: center;
}

.auth-page.auth-refresh .login-switch {
  font-size: 13px;
  color: #6d6356;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.auth-page.auth-refresh .login-switch a {
  color: #ab5f14;
  font-weight: 800;
  text-decoration: none;
}

.auth-page.auth-refresh .login-switch a:hover {
  text-decoration: underline;
}

.auth-footer-help {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #8e8376;
}

.auth-footer-help a,
.auth-page.auth-refresh .login-back {
  color: #635749;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.auth-page.auth-refresh .login-back {
  display: inline;
  margin: 0;
  text-align: inherit;
}

.auth-footer-help a:hover,
.auth-page.auth-refresh .login-back:hover {
  color: #ab5f14;
  text-decoration: underline;
}

.dot-sep {
  color: #c9bea9;
}

/* Admin Portal Switcher Pills */
.login-portal-links {
  margin-top: 14px;
}

.login-portal-links span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
  color: #9c9183;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portal-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.portal-pills a {
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3efe8;
  border: 1px solid #e3dbcf;
  color: #5a4f43;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.portal-pills a.active,
.portal-pills a:hover {
  background: #ab5f14;
  color: #ffffff;
  border-color: #ab5f14;
}

/* Admin Top Bar Navigation */
.auth-admin-page .login-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px 0;
  box-sizing: border-box;
}

.admin-header-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-header-links a {
  color: #635749;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.admin-header-links a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #ab5f14;
}

.admin-header-home {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e4dcd2;
}


/* ==========================================================================
   3. Responsive Media Queries
   ========================================================================== */
@media (max-width: 950px) {
  .auth-page.auth-refresh .login-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .auth-page.auth-refresh .login-showcase-content {
    padding: 32px 25px 27px;
  }
  .auth-page.auth-refresh .login-showcase h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .auth-page.auth-refresh .login-panel-inner {
    padding: 30px 26px;
  }
}

@media (max-width: 780px) {
  .auth-page.auth-refresh .login-layout {
    grid-template-columns: 1fr;
    max-width: 500px;
    min-height: 0;
    margin-bottom: 48px;
    padding: 0;
    border-radius: 22px;
  }
  .auth-page.auth-refresh .login-showcase {
    display: none;
  }
  .auth-page.auth-refresh .login-panel {
    border-radius: 22px;
  }
  .auth-page.auth-refresh .login-panel-inner {
    max-width: none;
    padding: 32px 24px 36px;
  }
}

@media (max-width: 450px) {
  .auth-page.auth-refresh .login-layout {
    width: calc(100% - 24px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(45, 25, 10, 0.08);
  }
  .auth-page.auth-refresh .login-panel-inner {
    padding: 26px 18px 30px;
  }
  .auth-page.auth-refresh .login-panel h2 {
    font-size: 25px;
  }
  .auth-meta-row {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px;
  }

  .auth-page.auth-refresh .panel-brand-header {
    margin-bottom: 18px;
  }

  .auth-page.auth-refresh .auth-tabs {
    margin-bottom: 20px;
  }

  .auth-page.auth-refresh .auth-footer-help {
    flex-wrap: wrap;
    row-gap: 5px;
  }
}

@media (max-width: 350px) {
  .auth-page.auth-refresh .auth-meta-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .auth-page.auth-refresh .login-forgot {
    align-self: flex-start;
  }

  .auth-page.auth-refresh .dot-sep {
    display: none;
  }
}

/* Refined admin and manager sign-in experience. */
.auth-admin-page.auth-refresh {
  background-color: #f7f4ef;
  background-image:
    radial-gradient(ellipse at 8% 2%, rgba(255, 183, 75, .2), transparent 38%),
    radial-gradient(ellipse at 95% 92%, rgba(225, 118, 34, .12), transparent 38%),
    linear-gradient(135deg, #fcfaf6 0%, #f4f0e9 100%);
}

.auth-admin-page.auth-refresh .login-admin-header {
  max-width: 1120px;
  padding: 21px 24px 12px;
}

.auth-admin-page.auth-refresh .login-admin-header .login-brand {
  font-size: 24px;
  letter-spacing: -.9px;
}

.auth-admin-page.auth-refresh .login-admin-header .login-brand img {
  width: 43px;
  height: 43px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(80, 53, 24, .12);
}

.auth-admin-page.auth-refresh .admin-header-links {
  gap: 8px;
}

.auth-admin-page.auth-refresh .admin-header-links a {
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.auth-admin-page.auth-refresh .admin-header-links a:hover {
  transform: translateY(-1px);
  border-color: #ead9c3;
  background: rgba(255, 255, 255, .85);
}

.auth-admin-page.auth-refresh .login-layout {
  width: min(1120px, calc(100% - 48px));
  min-height: 610px;
  margin: 8px auto 54px;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 12px;
  padding: 10px;
  border-color: rgba(226, 216, 203, .9);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(55, 37, 19, .12), 0 4px 14px rgba(55, 37, 19, .04);
}

.auth-admin-page.auth-refresh .login-showcase {
  background:
    radial-gradient(circle at 84% 12%, rgba(245, 157, 50, .28), transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(232, 111, 32, .16), transparent 38%),
    linear-gradient(150deg, #171714 0%, #29231c 58%, #352719 100%);
}

.auth-admin-page.auth-refresh .login-showcase:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #fa9b20, #ffd178 48%, transparent);
}

.auth-admin-page.auth-refresh .login-showcase-content {
  padding: 38px clamp(27px, 3.2vw, 42px) 25px;
  gap: 18px;
}

.auth-admin-page.auth-refresh .login-showcase h1 {
  max-width: 410px;
  font-size: clamp(32px, 3.3vw, 43px);
  letter-spacing: -1.7px;
}

.auth-admin-page.auth-refresh .login-showcase p {
  max-width: 390px;
}

.auth-admin-page.auth-refresh .login-pathway > div {
  border-color: rgba(255, 255, 255, .1);
  background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.auth-admin-page.auth-refresh .login-pathway > div:hover {
  transform: translateX(3px);
  border-color: rgba(255, 194, 110, .32);
  background: rgba(255, 255, 255, .09);
}

.auth-admin-page.auth-refresh .login-panel {
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 185, 87, .1), transparent 33%),
    #fff;
}

.auth-admin-page.auth-refresh .login-panel-inner {
  max-width: 440px;
  padding: 39px clamp(30px, 4vw, 54px);
}

.auth-admin-page.auth-refresh .panel-brand-header {
  margin-bottom: 13px;
}

.auth-admin-page.auth-refresh .panel-brand-header .login-brand img {
  padding: 4px;
  border: 1px solid #f1e8dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(80, 53, 24, .1);
}

.auth-admin-page.auth-refresh .admin-role-badge {
  padding: 8px 12px;
  border-color: #f1dfc8;
  background: #fff9f0;
  color: #82501c;
}

.auth-admin-page.auth-refresh .login-heading-group {
  margin-bottom: 24px;
}

.auth-admin-page.auth-refresh .login-panel-kicker {
  margin-top: 28px;
  margin-bottom: 9px;
  letter-spacing: 1.7px;
}

.auth-admin-page.auth-refresh .login-panel h2 {
  font-size: clamp(30px, 3vw, 37px);
  letter-spacing: -1.4px;
}

.auth-admin-page.auth-refresh .login-intro {
  max-width: 360px;
  margin: 10px 0 0;
  line-height: 1.65;
}

.auth-admin-page.auth-refresh .auth-field-group {
  gap: 8px;
  margin-bottom: 17px;
}

.auth-admin-page.auth-refresh .auth-field-group > label {
  color: #41382f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1px;
}

.auth-admin-page.auth-refresh .auth-input-wrap {
  min-height: 53px;
  overflow: hidden;
  border: 1px solid #e3ddd5;
  border-radius: 13px;
  background: #faf9f7;
  box-shadow: inset 0 1px 2px rgba(47, 35, 22, .025), 0 1px 1px rgba(47, 35, 22, .025);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.auth-admin-page.auth-refresh .auth-input-wrap:focus-within {
  border-color: #e6a14e;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 151, 54, .12), 0 4px 12px rgba(78, 51, 22, .045);
  transform: translateY(-1px);
}

.auth-admin-page.auth-refresh .auth-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 53px;
  margin: 0;
  padding: 0 15px 0 43px;
  border: 0;
  background: transparent;
  color: #2f2923;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .1px;
  outline: 0;
  box-shadow: none;
  box-sizing: border-box;
  transition: color .18s ease;
}

.auth-admin-page.auth-refresh .auth-input-wrap input:focus {
  box-shadow: none;
}

.auth-admin-page.auth-refresh .auth-input-wrap > .password-visibility-host {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 53px;
}

.auth-admin-page.auth-refresh .auth-input-wrap > .password-visibility-host input {
  height: 53px;
  padding-right: 52px !important;
}

.auth-admin-page.auth-refresh .password-visibility-host > .password-visibility-toggle {
  top: 50%;
  right: 7px;
  bottom: auto;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  transform: translateY(-50%);
  border-radius: 9px;
  color: #927754;
}

.auth-admin-page.auth-refresh .password-visibility-host > .password-visibility-toggle:hover {
  background: #f5eee4;
  color: #a6601e;
}

.auth-admin-page.auth-refresh .auth-input-icon {
  left: 15px;
  color: #a18462;
  transition: color .2s ease, transform .2s ease;
}

.auth-admin-page.auth-refresh .auth-input-wrap:focus-within .auth-input-icon {
  color: #c47b2a;
  transform: translateY(-50%) scale(1.04);
}

.auth-admin-page.auth-refresh .auth-input-wrap input::placeholder {
  color: #a99f94;
  font-weight: 450;
}

.auth-admin-page.auth-refresh .auth-input-wrap input:-webkit-autofill,
.auth-admin-page.auth-refresh .auth-input-wrap input:-webkit-autofill:hover,
.auth-admin-page.auth-refresh .auth-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #2f2923;
  caret-color: #2f2923;
  -webkit-box-shadow: 0 0 0 1000px #faf9f7 inset !important;
  transition: background-color 99999s ease-out 0s;
}

.auth-admin-page.auth-refresh .auth-input-wrap:focus-within input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

.auth-admin-page.auth-refresh .auth-meta-row {
  margin: 2px 0 16px !important;
  min-height: 24px;
}

.auth-admin-page.auth-refresh .auth-remember {
  gap: 9px !important;
  color: #64584b !important;
  font-size: 12px !important;
}

.auth-admin-page.auth-refresh .auth-remember input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  border: 1px solid #d5c7b5 !important;
  border-radius: 5px !important;
  accent-color: #f18416 !important;
  box-shadow: none !important;
}

.auth-admin-page.auth-refresh .login-forgot {
  color: #a35b19;
  font-size: 11.5px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.auth-admin-page.auth-refresh .login-submit {
  min-height: 54px;
  margin-top: 2px;
  border-radius: 13px;
  background: linear-gradient(110deg, #ff9f20 0%, #f5790e 100%);
  box-shadow: 0 8px 18px rgba(225, 113, 24, .22), inset 0 1px 0 rgba(255,255,255,.2);
  letter-spacing: .15px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.auth-admin-page.auth-refresh .login-submit:hover {
  filter: saturate(1.04);
  transform: translateY(-2px);
  box-shadow: 0 12px 23px rgba(225, 113, 24, .29), inset 0 1px 0 rgba(255,255,255,.2);
}

.auth-admin-page.auth-refresh .login-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(225, 113, 24, .18);
}

.auth-admin-page.auth-refresh .login-submit:focus-visible,
.auth-admin-page.auth-refresh .password-visibility-toggle:focus-visible,
.auth-admin-page.auth-refresh .login-forgot:focus-visible,
.auth-admin-page.auth-refresh .auth-remember input:focus-visible {
  outline: 3px solid rgba(184, 112, 31, .45);
  outline-offset: 3px;
}

.auth-admin-page.auth-refresh .auth-panel-footer {
  border-color: #eee8df;
}

.auth-admin-page.auth-refresh .login-submit {
  min-height: 54px;
  margin-top: 3px;
  border-radius: 12px;
  background: linear-gradient(110deg, #fa9d1c 0%, #f4780d 100%);
  box-shadow: 0 9px 20px rgba(225, 113, 24, .24);
}

.auth-admin-page.auth-refresh .login-submit:hover {
  box-shadow: 0 13px 25px rgba(225, 113, 24, .32);
}

.auth-admin-page.auth-refresh .auth-panel-footer {
  margin-top: 18px;
  padding-top: 17px;
}

.auth-admin-page.auth-refresh .login-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #8c8175;
  font-size: 11px;
  line-height: 1.5;
}

.auth-admin-page.auth-refresh .login-security-note svg {
  flex: none;
  color: #43835d;
}

@media (max-width: 950px) {
  .auth-admin-page.auth-refresh .login-showcase-content {
    padding: 31px 25px 24px;
  }
}

@media (max-width: 780px) {
  .auth-admin-page.auth-refresh .login-admin-header {
    padding: 16px 18px 10px;
  }

  .auth-admin-page.auth-refresh .login-layout {
    width: min(500px, calc(100% - 28px));
    max-width: 500px;
    min-height: 0;
    grid-template-columns: 1fr;
    margin-top: 8px;
    padding: 0;
  }

  .auth-admin-page.auth-refresh .login-showcase {
    display: none;
  }

  .auth-admin-page.auth-refresh .login-panel-inner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 32px 24px 36px;
  }
}

@media (max-width: 480px) {
  .auth-admin-page.auth-refresh .login-admin-header {
    align-items: center;
    padding-inline: 14px;
  }

  .auth-admin-page.auth-refresh .login-admin-header .login-brand {
    font-size: 21px;
  }

  .auth-admin-page.auth-refresh .login-admin-header .login-brand small {
    font-size: 7px;
    letter-spacing: 1.1px;
  }

  .auth-admin-page.auth-refresh .login-layout {
    width: calc(100% - 24px);
  }

  .auth-admin-page.auth-refresh .login-panel-inner {
    padding: 26px 18px 30px;
  }

  .auth-admin-page.auth-refresh .admin-header-links a {
    padding: 7px 9px;
    font-size: 11px;
  }

  .auth-admin-page.auth-refresh .admin-header-links a:first-child {
    display: none;
  }

  .auth-admin-page.auth-refresh .login-security-note {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-admin-page.auth-refresh *,
  .auth-admin-page.auth-refresh *::before,
  .auth-admin-page.auth-refresh *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page.auth-refresh * {
    transition: none !important;
  }
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-field-group {
  gap: 8px;
  margin-bottom: 19px;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-field-group label {
  color: #382d22;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.1px;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap {
  min-height: 54px;
  border: 1px solid #ded2c1;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 2px 6px rgba(67, 45, 21, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap:focus-within {
  border-color: #d8963f;
  box-shadow: 0 0 0 3px rgba(235, 157, 48, 0.15);
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input {
  height: 51px;
  box-sizing: border-box;
  padding: 0 14px 0 42px;
  border: 0;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: none;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input:focus {
  background: #fff;
  box-shadow: none;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input.password-visibility-input {
  padding-left: 42px !important;
  padding-right: 52px !important;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input:-webkit-autofill,
.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input:-webkit-autofill:hover,
.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #211b15;
  -webkit-box-shadow: 0 0 0 1000px #fffdf9 inset;
  caret-color: #211b15;
  transition: background-color 9999s ease-out 0s;
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap > .password-visibility-toggle {
  top: 50%;
  right: 6px;
  bottom: auto;
  height: 36px;
  transform: translateY(-50%);
}

.auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap:focus-within .auth-input-icon {
  color: #bb701c;
}

@media (max-width: 520px) {
  .auth-page.auth-refresh:not(.auth-admin-page) .auth-input-wrap input {
    font-size: 16px;
  }
}
