@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-title: 'Fredoka', sans-serif;
  --font-body: 'Fredoka', sans-serif;
  
  /* Color Palette - LIGHT CONTENT WITH MODERN GREEN ACCENTS */
  --bg-main: #f3f4f6;
  --bg-surface: #ffffff;
  --border-color: #e5e7eb;
  
  --primary: #0097e6;
  --primary-hover: #0084c7;
  --secondary: #2c3e50;
  
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-muted: #95a5a6;
  
  --success: #27ae60;
  --danger: #ff4d6d;
  --accent-gold: #f1c40f;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  
  --radius-sm: 4px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --pink: #ff758f;
  --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #ffe5ec 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* Animated clouds decoration */
.clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud-1 { width: 120px; height: 40px; top: 15%; left: 10%; animation: float-cloud 25s linear infinite; }
.cloud-1::before { width: 60px; height: 60px; top: -25px; left: 15px; }
.cloud-1::after { width: 45px; height: 45px; top: -15px; left: 60px; }

@keyframes float-cloud {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50px) translateY(-5px); }
}

.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
  position: relative;
  z-index: 5;
}

.auth-card {
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid #fff;
  padding: 40px 30px;
  border-radius: 30px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  z-index: 5;
  text-align: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-card h2 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-size: 26px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: 700;
}

.auth-card p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e0f2fe;
  padding: 12px 18px;
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 151, 230, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(255, 117, 143, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 117, 143, 0.35);
}

.auth-alert {
  background: #ffe5ec;
  border: 1px solid #ffc2d1;
  color: var(--danger);
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

.auth-success {
  background: #e2fbe2;
  border: 1px solid #bdf1bd;
  color: var(--success);
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

.back-root {
  margin-top: 20px;
  font-size: 0.85rem;
  z-index: 5;
}
.back-root a {
  color: #95a5a6;
  text-decoration: none;
}
.back-root a:hover {
  color: var(--text-primary);
}
