/* css/auth-card.css */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}
.auth-overlay.hidden {
  display: none;
}
.auth-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.auth-card h2 {
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.auth-subtitle {
  color: #64748b;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-group input {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.auth-button {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.auth-button:hover {
  background: #4338ca;
}
.auth-button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}
.auth-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}
.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}
.auth-footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover {
  text-decoration: underline;
}

