* {
  box-sizing: border-box;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif !important;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background: #f4f7fb;
  color: #111827;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/static/image/auth_background.jpg");
  background-repeat: no-repeat;
  background-position: center 8vh;
  background-size: min(1180px, 86vw) auto;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(380px, 500px);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding: clamp(36px, 7vh, 72px) clamp(28px, 9vw, 150px);
  position: relative;
  z-index: 1;
}

.brand-side {
  min-width: 0;
}

.brand-image {
  width: min(760px, 100%);
  height: auto;
  display: block;
  margin-bottom: 36px;
}

.brand-title {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 26px 0;
  letter-spacing: -2px;
}

.brand-desc {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: #667085;
  margin: 0;
}

.auth-card {
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  padding: 40px 36px 34px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.auth-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 28px;
  color: #0f172a;
  text-align: center;
}

.auth-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #667085;
  margin: -14px 0 24px;
  text-align: center;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border: 1.5px solid #d7dce7;
  border-radius: 13px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: #2f63ea;
  box-shadow: 0 0 0 4px rgba(47, 99, 234, 0.12);
}

.btn {
  width: 100%;
  height: 52px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  border: none;
  background: #2f63ea;
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(47, 99, 234, 0.24);
  margin-top: 4px;
}

.btn-primary:hover {
  background: #2957d8;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid #d7dce7;
  background: #ffffff;
  color: #111827;
  margin-top: 12px;
}

.btn-outline:hover {
  background: #f8fafc;
}

@media (max-width: 980px) {
  body::before {
    background-position: center 36px;
    background-size: min(760px, 88vw) auto;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px 24px;
  }

  .brand-side {
    text-align: center;
  }

  .brand-image {
    margin: 0 auto 26px;
    width: min(620px, 92vw);
  }

  .brand-title {
    font-size: clamp(36px, 8vw, 48px);
  }

  .brand-desc {
    margin: 0 auto;
    font-size: 16px;
  }

  .auth-card {
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .auth-shell {
    padding: 26px 16px;
  }

  .brand-image {
    width: 96vw;
    margin-bottom: 18px;
  }

  .brand-title {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .brand-desc {
    font-size: 14px;
  }

  .auth-card {
    padding: 28px 22px;
    border-radius: 20px;
  }
}
