:root {
  --navy: #111f31;
  --navy-2: #172a41;
  --gold: #c5a059;
  --gold-soft: #ead9b5;
  --ink: #182333;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

button,
input { font: inherit; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #151515;
}

.login-shell {
  width: min(1100px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .6);
}

.login-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(17, 31, 49, .76), rgba(17, 31, 49, .88)),
    radial-gradient(circle at 50% 25%, #48617b, #101a27 70%);
}

.login-logo {
  width: 118px;
  height: 118px;
  margin-bottom: 24px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .35));
}

.login-visual h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 44px;
  letter-spacing: 3px;
}

.login-visual i,
.login-heading i {
  width: 60px;
  height: 2px;
  display: block;
  margin: 20px auto;
  background: var(--gold);
}

.login-visual p {
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.login-form-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 45px;
  background: #fff;
}

.login-heading { margin-bottom: 32px; }
.login-heading h2 { margin: 0; font: 31px Georgia, serif; }
.login-heading i { width: 42px; height: 3px; margin: 10px 0 13px; }
.login-heading p { margin: 0; color: #777; font-size: 13px; }

.login-form-side form > label:not(.remember-row) {
  position: relative;
  display: block;
  margin-bottom: 25px;
}

.login-form-side label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
}

.login-form-side input:not([type="checkbox"]) {
  width: 100%;
  padding: 11px 34px 11px 0;
  border: 0;
  border-bottom: 2px solid #e2e2e2;
  outline: 0;
}

.login-form-side input:focus { border-color: var(--gold); }

.password-toggle {
  position: absolute;
  right: 0;
  bottom: 8px;
  border: 0;
  background: transparent;
  color: #777;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
  color: #666;
}

.remember-row span { margin: 0; font-weight: 600; }

.login-submit {
  width: 100%;
  padding: 14px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.login-submit:hover { border-color: var(--gold); color: var(--gold); }
.login-submit:disabled { opacity: .6; cursor: wait; }

.login-message {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #e3b6b8;
  border-radius: 5px;
  background: #fff5f5;
  color: #a52830;
  font-size: 12px;
  font-weight: 700;
}

.login-form-side footer { color: #777; line-height: 1.6; text-align: center; }
.honeypot { position: absolute; left: -9999px; }
.login-form-side form > label[hidden] { display: none; }

@media (max-width: 760px) {
  .login-page { padding: 0; }
  .login-shell { min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; }
  .login-visual { min-height: 245px; padding: 28px; }
  .login-logo { width: 78px; height: 78px; margin-bottom: 12px; }
  .login-visual h1 { font-size: 30px; }
  .login-form-side { padding: 34px 28px; }
}
