body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Split Layout */
.login-wrapper {
  flex: 1;
  display: flex;
  min-height: 100vh;
}

/* Left decorative panel */
.login-panel-left {
  flex: 1;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.login-panel-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(184, 147, 90, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(184, 147, 90, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Decorative cross pattern */
.cross-deco {
  position: absolute;
  opacity: 0.05;
  font-size: 28rem;
  color: var(--gold);
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.panel-brand {
  font-family: 'Roboto', sans-serif;
  color: var(--cream);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.panel-brand span {
  color: var(--gold-light);
}

.panel-tagline {
  color: rgba(249, 245, 239, 0.55);
  font-size: 0.92rem;
  font-weight: 300;
  text-align: center;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 280px;
}

.panel-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
  position: relative;
  z-index: 1;
}

.panel-quote {
  color: rgba(249, 245, 239, 0.35);
  font-size: 0.8rem;
  font-style: italic;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin-top: 2.5rem;
  line-height: 1.8;
}

/* Right form panel */
.login-panel-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
}

.login-card {
  width: 100%;
  max-width: 420px;
  animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.login-card-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

/* Sign in button */
.btn-signin {
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.02em;
  width: 100%;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-signin:hover {
  background: #2e2823;
  transform: translateY(-1px);
  color: var(--gold-light);
}

.btn-signin:active {
  transform: translateY(0);
}

/* Register link */
.register-text {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.6rem;
}

.register-text a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
}

.register-text a:hover {
  text-decoration: underline;
}

/* Alert */
.alert-login {
  display: none;
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}

/* Responsive: stack on mobile */
@media (max-width: 767.98px) {
  .login-wrapper {
    flex-direction: column;
  }

  .login-panel-left {
    padding: 2.5rem 1.5rem;
    min-height: auto;
    flex: none;
  }

  .cross-deco {
    font-size: 14rem;
  }
  .panel-brand {
    font-size: 1.8rem;
  }
  .panel-quote {
    display: none;
  }

  .login-panel-right {
    flex: none;
    padding: 2.5rem 1.25rem;
    align-items: flex-start;
  }

  .login-card {
    max-width: 100%;
  }
}
