
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;

  background: linear-gradient(135deg, #e0f2fe, #f8fafc);

  height: 100vh;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(2px);

  z-index: 0;
}


.auth-container {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  height: 100vh;
}


.auth-card {
  width: 100%;
  max-width: 420px;

  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;

  padding: 40px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

  animation: fadeIn 0.4s ease-in-out;
}

.auth-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}


.auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}


.auth-card input {
  width: 100%;
  padding: 12px 14px;

  margin-bottom: 14px;

  border: 1px solid #e2e8f0;
  border-radius: 10px;

  font-size: 14px;

  outline: none;
  transition: all 0.2s ease;
}


.auth-card input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}


.auth-card button {
  width: 100%;
  padding: 12px;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;

  border: none;
  border-radius: 10px;

  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;
}

.auth-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.auth-links {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;

  font-size: 13px;
}

.auth-links a {
  color: #3b82f6;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}


#login-message {
  margin-top: 10px;
  font-size: 13px;
  color: red;
  text-align: center;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card {
  position: relative;
  z-index: 1;
}