* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1d2438, #08090d 60%);
  color: white;
}

.auth-container {
  width: 100%;
  max-width: 430px;
  padding: 25px;
}

.auth-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.logo {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #969baa;
  margin-bottom: 35px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 16px 45px 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #11141d;
  color: white;
  outline: none;
  transition: 0.25s;
}

.input-group input:focus {
  border-color: white;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.password-toggle.active {
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.5;
}

button.primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: white;
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

button.primary:hover {
  transform: translateY(-2px);
}

.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  color: #777;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #333;
  flex: 1;
}

.google-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: #171923;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.google-btn:hover {
  background: #222532;
}

.auth-message {
  margin-top: 20px;
  text-align: center;
  color: #8cff9c;
  font-size: 14px;
}

.auth-message.error {
  color: #ff7d7d;
}

.links {
  margin-top: 25px;
  text-align: center;
}

.links a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.links a:hover {
  color: white;
}

@media (max-width: 500px) {
  .auth-box {
    padding: 25px;
  }
}