html, body {
  overflow-x: hidden;
}


/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

/* BODY */
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(45,10,122,0.12), transparent 60%),
    #f4f5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f1f1f;
}

/* PAGE */
.login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGIN SECTION */
.login-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* CARD */
.form-card {
  width: 100%;
  max-width: 420px;
  padding: 48px 42px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 30px 80px rgba(45,10,122,0.15),
    0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* TITLES */
.form-card h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-card span {
  font-size: 14px;
  color: #6b6b7a;
  margin-bottom: 16px;
}

/* INPUTS */
.form-card input {
  padding: 16px;
  border-radius: 14px;
  background: #f7f7fb;
  border: 1px solid #e2e3f0;
  font-size: 15px;
  color: #222;
  transition: border .2s ease, box-shadow .2s ease;
}

.form-card input::placeholder {
  color: #9a9ab0;
}

.form-card input:focus {
  outline: none;
  border-color: #2d0a7a;
  box-shadow: 0 0 0 4px rgba(45,10,122,0.12);
}

/* MAIN BUTTON */
.form-card button[type="submit"] {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2d0a7a, #4f6cf5);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.form-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(45,10,122,0.35);
}

/* DIVIDER */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9a9ab0;
  font-size: 13px;
  margin: 8px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e6f2;
}

/* GOOGLE BUTTON */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
  color: #333;
  font-weight: 600;
  border: 1px solid #e2e3f0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-google img {
  width: 18px;
  height: 18px;
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* LINKS */
.form-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.form-links a {
  font-size: 13px;
  color: #5b5b7a;
  text-decoration: none;
  transition: color .2s ease;
}

.form-links a:hover {
  color: #2d0a7a;
}

/* ANIMATIONS */
.fade-in {
  animation: pageFade .6s ease forwards;
}

.fade {
  opacity: 0;
  animation: fadeUp .5s ease forwards;
}

.slide-right {
  opacity: 0;
  animation: slideRight .6s ease forwards;
}

/* DELAYS */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }
.delay-7 { animation-delay: .7s; }
.delay-8 { animation-delay: .8s; }

/* KEYFRAMES */
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .form-card {
    padding: 40px 26px;
    border-radius: 18px;
  }
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}