body,input,button,textarea,select,p,span,a,label{font-family:'Open Sans',sans-serif!important;}h1,h2,h3,h4,h5,h6,.title,.heading,.logo-text,.btn-primary,.tab-active{font-family:'Montserrat',sans-serif!important;}
/* ── Login Page Premium ── */
* {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select {
  outline: none;
  box-shadow: none;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
}
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 8%, rgba(29,158,117,.16), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(35,130,252,.10), transparent 32%),
    linear-gradient(180deg, #f8f7f3 0%, #efeee9 100%);
  color: #15171c;
}

.login-body::before,
.login-body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .55;
}

.login-disclaimer {
  margin: 0;
  font-size: 9.8px;
  color: #7b7d77;
  line-height: 1.42;
  letter-spacing: -0.05px;
  text-align: center;
}
.login-disclaimer strong { color: #555852; font-weight: 800; }


.login-body::before {
  width: 260px;
  height: 260px;
  left: -120px;
  top: 84px;
  background: rgba(29, 158, 117, .12);
}

.login-body::after {
  width: 220px;
  height: 220px;
  right: -120px;
  bottom: 86px;
  background: rgba(35, 130, 252, .10);
}

.login-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 414px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.login-header {
  width: 100%;
  text-align: center;
  padding-top: 4px;
}

.login-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: #15171c;
  margin-bottom: 10px;
}

.login-logo span { color: #1D9E75; }

.login-tagline {
  margin: 8px auto 0;
  max-width: 280px;
  font-size: 14px;
  color: #747672;
  line-height: 1.45;
  letter-spacing: -0.1px;
}

.login-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(229,227,220,.88);
  border-radius: 28px;
  padding: 24px;
  box-shadow:
    0 24px 70px rgba(22, 24, 29, .10),
    0 2px 0 rgba(255,255,255,.65) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background: linear-gradient(180deg, rgba(29,158,117,.07), transparent);
  pointer-events: none;
}

/* ── Tabs ── */
.login-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(246,246,246,.95);
  border: 1px solid rgba(229,227,220,.75);
  border-radius: 16px;
  padding: 4px;
  margin-bottom: 24px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 11px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #81837d;
  cursor: pointer;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  transition: all .18s ease;
}

.tab-btn.active {
  background: #fff;
  color: #15171c;
  box-shadow: 0 8px 22px rgba(22,24,29,.09);
}

#tab-login,
#tab-register {
  position: relative;
  z-index: 1;
}

/* ── Fields ── */
.field-group {
  margin-bottom: 15px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #555852;
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 15px;
  font-size: 17px;
  color: #aeb0aa;
  pointer-events: none;
}

.field-icon-right {
  position: absolute;
  right: 15px;
  font-size: 17px;
  color: #aeb0aa;
  transition: color .18s ease;
}

.field-icon-right:hover { color: #1D9E75; }

.field-input {
  width: 100%;
  min-height: 50px;
  background: rgba(247,246,243,.92);
  border: 1px solid #e4e2db;
  border-radius: 16px;
  padding: 14px 44px 14px 44px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: #15171c;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.field-input:focus {
  border-color: rgba(29,158,117,.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,158,117,.10);
}

.field-input::placeholder { color: #b8bab4; }

/* ── Forgot ── */
.forgot-row {
  text-align: right;
  margin: -4px 0 18px;
}

.forgot-link {
  font-size: 12px;
  color: #087a60;
  text-decoration: none;
  font-weight: 700;
}

.forgot-link:hover { text-decoration: underline; }

/* ── Button ── */
.btn-primary {
  width: 100%;
  min-height: 52px;
  background: linear-gradient(135deg, #282b33 0%, #15171c 100%);
  color: #fff;
  border: none;
  border-radius: 17px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
  margin-top: 6px;
  box-shadow: 0 16px 30px rgba(21,23,28,.20);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(21,23,28,.24);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Error ── */
.form-error {
  margin-top: 12px;
  font-size: 12px;
  color: #d83b18;
  text-align: center;
  background: rgba(216,59,24,.08);
  border: 1px solid rgba(216,59,24,.13);
  border-radius: 12px;
  padding: 10px;
  font-weight: 600;
}

.hidden { display: none !important; }

/* ── Terms ── */
.login-terms {
  max-width: 350px;
  margin: 0;
  font-size: 11px;
  color: #9b9d96;
  text-align: center;
  line-height: 1.6;
}

.login-terms a {
  color: #62645f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-terms strong { color: #62645f; font-weight: 700; }

/* Logo VVDT */
.login-logo.login-logo-img {
  display: block;
  width: auto;
  height: 88px;
  max-width: 260px;
  object-fit: contain;
  margin: 0 auto 10px;
  filter: drop-shadow(0 18px 28px rgba(21,23,28,.10));
}

@media (max-width: 380px) {
  .login-body { padding: 22px 14px; }
  .login-card { padding: 20px; border-radius: 24px; }
  .login-logo.login-logo-img { height: 78px; }
}

/* Theme compatibility overrides */
html[data-theme="dark"] .login-body {
  background:
    radial-gradient(circle at 20% 8%, rgba(29,158,117,.16), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(35,130,252,.10), transparent 32%),
    var(--et-bg) !important;
}
html[data-theme="dark"] .login-card { background: rgba(24,26,31,.88) !important; border-color: rgba(255,255,255,.10) !important; }
html[data-theme="dark"] .login-tabs { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.08) !important; }
html[data-theme="dark"] .tab-btn.active { background: var(--et-surface) !important; color: var(--et-text) !important; }
html[data-theme="dark"] .field-label,
html[data-theme="dark"] .login-logo { color: var(--et-text) !important; }
html[data-theme="dark"] .login-tagline,
html[data-theme="dark"] .login-terms { color: var(--et-muted) !important; }
html[data-theme="dark"] .login-disclaimer { color: var(--et-muted) !important; }
html[data-theme="dark"] .field-input { background: rgba(255,255,255,.06) !important; color: var(--et-text) !important; border-color: rgba(255,255,255,.10) !important; }
html[data-theme="dark"] .field-input:focus { background: rgba(255,255,255,.08) !important; }
html[data-theme="dark"] .field-icon,
html[data-theme="dark"] .field-icon-right { color: var(--et-muted-2) !important; }
html[data-theme="dark"] .toggle { background: rgba(255,255,255,.12) !important; }
html[data-theme="dark"] .toggle.on { background: var(--et-green) !important; }
