/* =========================================
   PREMIUM LOGIN PAGE
   Matches Register Page Style
   ========================================= */

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 204, 0, 0.14), transparent 26%),
    radial-gradient(circle at 85% 88%, rgba(0, 200, 83, 0.08), transparent 28%),
    linear-gradient(135deg, #101317 0%, #1a1e24 52%, #0d1014 100%);
}

.auth-shell {
  min-height: 100vh;
  padding: 30px 14px;
  display: grid;
  place-items: center;
}

.auth-card {
  position: relative;
  width: min(100%, 470px);
  padding: 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 196, 0, 0.06);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, transparent, #ffc400, #ff9d00, transparent);
}

/* Logo */
.auth-logo {
  width: max-content;
  margin: 0 auto 23px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.auth-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #171717;
  background: linear-gradient(135deg, #ffda32, #ffad0a);
  box-shadow: 0 7px 17px rgba(221, 153, 0, 0.20);
  font-size: 1rem;
}

.auth-logo__text {
  color: #171b20;
  font-family: var(--font-gaming);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.auth-logo__text span {
  color: #e5a500;
}

/* Heading */
.auth-heading {
  margin-bottom: 25px;
  text-align: center;
}

.auth-heading__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 20px;
  color: #a87300;
  background: #fff7d5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.auth-heading h1 {
  margin: 0 0 8px;
  color: #171b20;
  font-family: var(--font-gaming);
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  line-height: 1.15;
}

.auth-heading p {
  max-width: 340px;
  margin: 0 auto;
  color: #747d87;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

/* Form */
.auth-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label {
  padding-left: 2px;
  color: #303740;
  font-size: 0.92rem;
  font-weight: 750;
}

.input-wrap {
  position: relative;
}

.input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: #8c949d;
  font-size: 0.92rem;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  min-height: 50px;
  padding: 11px 43px 11px 41px;
  border: 1px solid #dfe4e8;
  border-radius: 11px;
  outline: 0;
  color: #171b20;
  background: #f6f8fa;
  font-size: 1rem;
  font-weight: 550;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.input-wrap input::placeholder {
  color: #9ba2aa;
  font-weight: 500;
}

.input-wrap input:hover {
  border-color: #cbd1d7;
  background: #f9fafb;
}

.input-wrap input:focus {
  border-color: #eab600;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.12);
}

.input-wrap:focus-within > i {
  color: #d69e00;
}

/* Eye button */
.password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 35px;
  height: 35px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #858e98;
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.password-toggle:hover {
  color: #bd8900;
  background: #fff6d6;
}

/* Remember / Forgot */
.login-options {
  margin-top: -2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #68727d;
  font-size: 0.79rem;
  font-weight: 650;
  cursor: pointer;
}

.remember-check input {
  width: 16px;
  height: 16px;
  accent-color: #eeb900;
}

.forgot-link {
  color: #b17d00;
  font-size: 0.79rem;
  font-weight: 750;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Message */
.form-message {
  min-height: 15px;
  margin: -4px 0 0;
  color: #e13b4f;
  font-size: 0.77rem;
  font-weight: 650;
  text-align: center;
}

/* Login button */
.login-btn {
  min-height: 51px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  color: #171717;
  background: linear-gradient(135deg, #ffda28 0%, #ffb000 100%);
  box-shadow: 0 9px 20px rgba(218, 151, 0, 0.20);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 12px 25px rgba(218, 151, 0, 0.27);
}

.login-btn:active {
  transform: scale(0.985);
}

/* Register link */
.auth-register {
  margin-top: 22px;
  color: #707985;
  font-size: 0.86rem;
  font-weight: 550;
  text-align: center;
}

.auth-register a {
  color: #b27e00;
  font-weight: 800;
}

.auth-register a:hover {
  text-decoration: underline;
}

/* Trust */
.auth-trust {
  margin-top: 20px;
  padding-top: 17px;
  display: flex;
  justify-content: center;
  gap: 9px 17px;
  flex-wrap: wrap;
  border-top: 1px solid #e8ebee;
  color: #7b848d;
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-trust i {
  margin-right: 4px;
  color: #00a844;
}

/* Mobile */
@media (max-width: 520px) {
  .auth-shell {
    padding: 16px 10px;
  }

  .auth-card {
    padding: 25px 18px;
    border-radius: 16px;
  }

  .auth-logo {
    margin-bottom: 20px;
  }

  .auth-logo__mark {
    width: 38px;
    height: 38px;
  }

  .auth-logo__text {
    font-size: 1.35rem;
  }

  .auth-heading {
    margin-bottom: 21px;
  }

  .auth-heading h1 {
    font-size: 1.32rem;
  }

  .auth-heading p {
    font-size: 0.86rem;
  }

  .input-wrap input {
    min-height: 48px;
    font-size: 0.95rem;
  }
}

/* Small phones */
@media (max-width: 320px) {
  .auth-shell {
    padding-inline: 7px;
  }

  .auth-card {
    padding: 21px 13px;
  }

  .auth-heading h1 {
    font-size: 1.16rem;
  }

  .auth-heading p {
    font-size: 0.75rem;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .input-wrap input {
    padding-left: 37px;
    font-size: 0.9rem;
  }

  .input-wrap > i {
    left: 12px;
  }

  .login-options {
    align-items: flex-start;
  }

  .remember-check,
  .forgot-link {
    font-size: 0.7rem;
  }
}