* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.18), transparent 32%),
    linear-gradient(160deg, #05070b 0%, #101722 52%, #07090d 100%);
  font-family: Roboto, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.login-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 18px;
}

.logo {
  width: min(240px, 72vw);
  height: auto;
}

.login-box {
  width: min(100%, 380px);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(21, 24, 31, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.login-box h1 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 900;
}

.login-box input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #0f172a;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  font-size: 16px;
  outline: none;
}

.login-box input:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.34);
}

.login-box button {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.login-box button:hover {
  transform: translateY(-1px);
}

.login-box button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.login-btn {
  color: #15130b;
  background: linear-gradient(135deg, #f0c54a, #d4af37);
}

.login-btn:hover {
  background: linear-gradient(135deg, #ffe082, #d4af37);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #111827;
  border: 1px solid #d7dbe3;
  background: #ffffff;
}

.social-btn:hover {
  background: #f3f5f8;
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.divider {
  position: relative;
  margin: 18px 0 8px;
  text-align: center;
}

.divider::before,
.divider::after {
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  padding: 0 10px;
  color: #a9b1c3;
  font-size: 14px;
}

#login-error {
  min-height: 18px;
  margin-top: 12px;
  color: #ff7777;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 420px) {
  .login-box {
    padding: 26px 20px;
  }
}
