/* ===== LOGIN SECTION ===== */
.login-section {
  background: var(--ink);
  background-image:
    radial-gradient(
      circle at 15% 20%,
      rgba(184, 144, 42, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(184, 144, 42, 0.06),
      transparent 45%
    );
  padding: 90px 0 110px;
  position: relative;
}

.login-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.login-info {
  background: var(--ink);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.login-info-top .scale-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-bg);
  border: 1px solid rgba(184, 144, 42, 0.25);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.scale-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.login-info-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
}

.login-info-title em {
  color: var(--gold-lt);
  font-style: italic;
}

.login-info-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.85;
  margin-bottom: 32px;
}

.login-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.login-feature svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.login-info-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.login-info-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.login-info-bottom a {
  color: var(--gold-lt);
  font-weight: 500;
}

.login-form-side {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-tabs {
  display: flex;
  gap: 4px;
  background: var(--ivory);
  border-radius: var(--r);
  padding: 4px;
  margin-bottom: 30px;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  border: none;
  background: transparent;
  font-family: var(--sans);
}

.login-tab.active {
  background: var(--ink);
  color: var(--white);
}

.login-heading {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.login-subheading {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.alert {
  padding: 11px 14px;
  border-radius: var(--r);
  font-size: 0.82rem;
  margin-bottom: 18px;
  display: none;
  align-items: center;
  gap: 8px;
}

.alert.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  display: flex;
}

.alert.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  display: flex;
}

.alert svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 7px;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: #b0a898;
  fill: none;
  stroke-width: 1.5;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.input-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 144, 42, 0.12);
  background: var(--white);
}

.input-wrap input::placeholder {
  color: #b0a898;
}

.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #b0a898;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.toggle-pw:hover {
  color: var(--muted);
}

.toggle-pw svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.forgot-link {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

.forgot-link:hover {
  color: #8a6a1a;
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 144, 42, 0.35);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-login svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.8;
}

.login-foot-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.login-foot-note a {
  color: var(--gold);
  font-weight: 600;
}

.login-foot-note a:hover {
  text-decoration: underline;
}
