/**
 * Auth Pages Styling
 * Dot pattern background with circular gradient fade and centered container
 */

:root {
  --color-primary: #f46a3c;
  --color-secondary: #0f0f0f;
  --wy-theme-color: #f46a3c;
  --wy-border-radius: 8px;
}

/* Auth body - full viewport height */
.auth-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

/* Dot pattern background */
.auth-background {
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #d2d2d2 2px, transparent 2px);
  background-size: 22px 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Circular gradient overlay - fades dots to white from center */
.auth-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.8) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* Auth container - centered white box with light gray border */
.auth-container {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid oklch(var(--bc) / 0.2);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 480px;
  width: 100%;
  padding: 3rem;
}

/* Logo container */
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Auth content area */
.auth-content {
  width: 100%;
}

/* Auth headings */
.auth-content h1 {
  font-size: 1.875rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  color: oklch(var(--bc));
}

.auth-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  color: oklch(var(--bc));
}

.auth-content .auth-subtitle {
  text-align: center;
  color: oklch(var(--bc) / 0.6);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Form styling - use DaisyUI classes */
.auth-content form {
  width: 100%;
}

/* Links */
.auth-content .link {
  font-weight: 500;
}

/* Icon in messages */
.auth-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-icon i {
  font-size: 3rem;
  color: oklch(var(--p));
}

.auth-icon.success i {
  color: oklch(var(--p));
}

.auth-icon.error i {
  color: oklch(var(--er));
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .auth-container {
    padding: 2rem 1.5rem;
  }

  .auth-content h1 {
    font-size: 1.5rem;
  }

  .auth-content h2 {
    font-size: 1.25rem;
  }
}
