:root {
  --gold:       #C9A84C;
  --gold-light: #E2C07A;
  --gold-dark:  #9B7A2F;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Segoe UI', system-ui, sans-serif; }

.login-page {
  display: flex;
  min-height: 100vh;
}

/* ══ LEFT PANEL — dark accent panel ══ */
.login-left {
  width: 46%;
  background: #1C1914;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201,168,76,0.3) 60%, transparent 100%);
}

.login-left::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.ll-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.09);
  pointer-events: none;
}
.ll-ring-1 { width: 480px; height: 480px; bottom: -210px; right: -180px; }
.ll-ring-2 { width: 340px; height: 340px; bottom: -120px; right: -90px;  border-color: rgba(201,168,76,0.13); }
.ll-ring-3 { width: 200px; height: 200px; bottom: -40px;  right: 10px;   border-color: rgba(201,168,76,0.1); }

.ll-logo-row {
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}
.ll-logo-row img {
  width: 38px;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.4));
}
.ll-logo-row span {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}

.ll-main {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; padding: 48px 0 32px;
}

.ll-headline {
  font-size: 32px; font-weight: 800; line-height: 1.2;
  color: #F5EDD8; margin-bottom: 14px; letter-spacing: -0.01em;
}
.ll-headline em { font-style: normal; color: var(--gold); }

.ll-sub {
  font-size: 14px; color: #6E6254; line-height: 1.6;
  max-width: 300px; margin-bottom: 44px;
}

.ll-features { display: flex; flex-direction: column; gap: 20px; }

.ll-feat { display: flex; align-items: flex-start; gap: 14px; }
.ll-feat-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 13px; margin-top: 1px;
}
.ll-feat-title { font-size: 13px; font-weight: 700; color: #D8CEBC; margin-bottom: 2px; }
.ll-feat-desc  { font-size: 12px; color: #5A5248; line-height: 1.5; }

.ll-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.ll-copy { font-size: 11px; color: #4A4030; }
.ll-version {
  font-size: 10px; color: #8A7A60;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 20px; padding: 3px 10px;
  letter-spacing: 0.05em;
}

/* ══ RIGHT PANEL — light / clean ══ */
.login-right {
  flex: 1;
  background: #EDE9E0;
  border-left: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  padding: 52px 48px; position: relative;
}

.login-right::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.login-form-box {
  width: 100%; max-width: 360px;
  position: relative; z-index: 1;
}

.lf-heading { margin-bottom: 32px; }
.lf-heading h2 {
  font-size: 24px; font-weight: 800;
  color: #1C1914; margin-bottom: 6px; letter-spacing: -0.01em;
}
.lf-heading p { font-size: 13px; color: #8A7A6A; }

.lf-error {
  display: flex; align-items: center; gap: 9px;
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.18);
  color: #C0392B; border-radius: 10px;
  padding: 11px 14px; font-size: 13px; margin-bottom: 22px;
}

.lf-field { margin-bottom: 16px; }
.lf-field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #7A6E60; margin-bottom: 8px;
}

.lf-input { position: relative; display: flex; align-items: center; }
.lf-input .fi {
  position: absolute; left: 14px; color: #A09080;
  font-size: 13px; pointer-events: none; transition: color 0.2s;
}
.lf-input:focus-within .fi { color: var(--gold-dark); }

.lf-input input {
  width: 100%; height: 48px;
  background: #E5E0D4;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px; padding: 0 44px 0 40px;
  font-size: 14px; color: #1C1914;
  outline: none; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lf-input input::placeholder { color: #B0A090; }
.lf-input input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: #F5F1E8;
}

.pw-toggle {
  position: absolute; right: 12px;
  background: none; border: none; color: #A09080;
  cursor: pointer; padding: 6px; font-size: 13px;
  line-height: 1; transition: color 0.2s;
}
.pw-toggle:hover { color: var(--gold-dark); }

.lf-submit {
  width: 100%; height: 48px; margin-top: 24px;
  background: var(--gold); color: #fff; border: none;
  border-radius: 10px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3); font-family: inherit;
}
.lf-submit:hover { background: var(--gold-dark); box-shadow: 0 6px 28px rgba(201,168,76,0.4); }
.lf-submit:active { transform: scale(0.985); }

.lf-foot {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 11px; color: #A09080; text-align: center;
}

.mob-logo {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.mob-logo img  { width: 54px; }
.mob-logo span {
  font-size: 18px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark);
}

@media (max-width: 800px) {
  .login-page  { flex-direction: column; }
  .login-left  { display: none; }
  .login-right {
    min-height: 100vh;
    padding: 48px 24px 32px;
    align-items: flex-start;
    justify-content: center;
  }
  .login-form-box { max-width: 100%; }
  .mob-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .mob-logo img  { width: 64px; }
  .mob-logo span { font-size: 16px; }
  .lf-heading    { text-align: center; }
}
