:root {
  --primary: #3a86ff;
  --primary-dark: #2361b8;
  --accent: #ffbe0b;
  --bg-auth: #f8fbff;
  --card-radius: 22px;
  --card-shadow: 0 8px 32px rgba(58,134,255,0.09), 0 1.5px 6px rgba(30,41,59,0.03);
  --font-main: 'Manrope', 'Inter', 'Plus Jakarta Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-main);
  background: var(--bg-auth);
  min-height: 100vh;
}

.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #f8fbff 80%, #eaf2ff 100%);
}

.auth-center {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 40px 32px 32px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: fadeInUp 0.7s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: none;}
}

.auth-header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.auth-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 0.7rem;
}
.auth-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
}
.auth-sub {
  color: #64748b;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.4rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #eaf2ff;
  font-size: 1rem;
  outline: none;
  background: #f8fbff;
  transition: border 0.2s;
}
.form-group input:focus {
  border-color: var(--primary);
}

.auth-social-btn {
  background: #fff;
  border: 1.5px solid #eaf2ff;
  border-radius: 10px;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  cursor: pointer;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(58,134,255,0.06);
  transition: background 0.2s, box-shadow 0.2s, border 0.2s;
}
.auth-social-btn img {
  width: 22px;
  height: 22px;
}
.auth-social-btn:hover {
  background: #f0f6ff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(58,134,255,0.10);
}

.btn-full {
  width: 100%;
  padding: 0.85rem 0;
  font-size: 1.08rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(35,118,252,0.06);
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  margin-bottom: 0.8rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.btn-full:hover, .btn-full:focus {
  background: var(--primary-dark);
  box-shadow: 0 8px 32px rgba(35,118,252,0.13);
  transform: translateY(-2px) scale(1.03);
}

.auth-divider {
  text-align: center;
  margin: 1.2rem 0 1.1rem 0;
  position: relative;
}
.auth-divider span {
  background: #fff;
  color: #64748b;
  font-size: 0.98rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.auth-divider:before {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: #eaf2ff;
  z-index: 0;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  color: #64748b;
}
.auth-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.auth-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.auth-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  font-size: 1rem;
  color: #64748b;
  margin-top: 0.5rem;
}
.auth-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.auth-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .auth-card {
    padding: 24px 10px 18px 10px;
  }
  .auth-center {
    max-width: 100vw;
    padding: 0 8px;
  }
}