/* SECTION LOGIN */
.login-section {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.login-card {
  background: white;
  border-radius: 36px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf2f7;
  transform: translateY(0);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.08);
}

.login-card .login-icon {
  text-align: center;
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 12px;
}

.login-card h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-card .subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #1e293b;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 60px;
  font-size: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  background: white;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  cursor: pointer;
}

.form-options a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.form-options a:hover {
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transition: 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-login:hover {
  background: #1d4ed8;
  transform: scale(1.02);
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #dc2626;
}

.login-error.show {
  display: flex;
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #64748b;
}

.login-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Animations reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .container {
    padding: 0 16px;
  }

  .navbar .container {
    padding: 0 16px;
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.4rem;
  }

  .login-card {
    padding: 32px 24px;
  }

  .footer-design {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
