* { box-sizing: border-box; }

.app {
  margin: 0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: radial-gradient(1000px circle at top left, #7dd3fc, transparent 40%),
            radial-gradient(1000px circle at bottom right, #60a5fa, transparent 40%),
            linear-gradient(135deg, #0f172a, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 42px 36px 36px;
  box-shadow:
  0 30px 60px rgba(0, 0, 0, 0.35),
  inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-align: center;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 28px;
  color: #64748b;
  font-size: 14px;
}

/* Google Material Button (Design Only) */
.google-signIn {
  appearance: none;
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 999px;
  height: 48px;
  width: 100%;
  padding: 0 14px;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .05s ease;
}

.google-signIn:hover {
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.25);
}

.google-signIn:active {
  transform: translateY(1px);
}

.gsi-material-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gsi-material-button-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gsi-material-button-contents {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  letter-spacing: .01em;
}
/* Divider line */
.divider {
  color: #aaa;
  position: relative;
  text-align: center;
  margin: 1rem 0;
}
.divider::before,
.divider::after {
  content: '';
  display: inline-block;
  width: 40%;
  height: 1px;
  background: #aaa;
  vertical-align: middle;
  margin: 0 0.5rem;
} 
.footer {
  margin-top: 28px;
  font-size: 12px;
  color: #94a3b8;
}

.footer span {
  color: #334155;
  font-weight: 500;
}
/* Alternative Sign Up Design */
.signUp-card {
  display:none;
  width: 100%;
  max-width: 480px;
  padding: 40px 30px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  text-align: center;
  animation: fadeUp 0.6s ease;
}

.signup-header .logo {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #34d399, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-header h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.signup-header p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  transition: border 0.2s;
}

.form-group input:focus {
  border-color: #3b82f6;
  outline: none;
}

.btn-signup {
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #3b82f6);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.social-signup {
  margin: 28px 0 10px;
}

.social-signup p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.google-signIn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.signup-footer {
  font-size: 12px;
  color: #64748b;
  margin-top: 20px;
}

.signup-footer a,.signUp-btn a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  cursor:pointer;
}

.signup-footer a:hover, .signUp-btn a:hover {
  text-decoration: underline;
}
