/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[3]!./src/styles/auth.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* ── Auth / Welcome Screen ────────────────── */

.auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0f0c29 0%, #1a1a2e 40%, #16213e 100%);
  padding: 24px;
  overflow: hidden;
  position: relative;
}

/* Animated background circles */
.auth-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: authFloat 8s ease-in-out infinite;
}

.auth-bg-circle-1 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  top: -80px;
  right: -80px;
  animation-delay: 0s;
}

.auth-bg-circle-2 {
  width: 200px;
  height: 200px;
  background: #10b981;
  bottom: -40px;
  left: -40px;
  animation-delay: -3s;
}

.auth-bg-circle-3 {
  width: 150px;
  height: 150px;
  background: #8b5cf6;
  top: 40%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes authFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Logo / Icon */
.auth-logo {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
  animation: authLogoIn 0.6s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes authLogoIn {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Title */
.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: authFadeUp 0.6s ease-out 0.2s both;
}

.auth-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: authFadeUp 0.6s ease-out 0.3s both;
}

@keyframes authFadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Status indicator */
.auth-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  position: relative;
  z-index: 1;
  animation: authFadeUp 0.6s ease-out 0.4s both;
}

.auth-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: authSpin 0.8s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

/* Welcome state (after successful auth) */
.auth-welcome {
  animation: authFadeUp 0.4s ease-out;
}

.auth-welcome-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.auth-welcome-name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  text-align: center;
}

.auth-welcome-greeting {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-align: center;
}

/* Progress bar for loading */
.auth-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 32px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: authFadeUp 0.6s ease-out 0.5s both;
}

.auth-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Error state */
.auth-error {
  padding: 12px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

/* Debug info (temporary) */
.auth-debug {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  text-align: left;
  white-space: pre-wrap;
  margin-top: 24px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  max-width: 300px;
  word-break: break-all;
  position: relative;
  z-index: 1;
}

