/* AUTH PAGE PREMIUM DESIGN */
.auth-page {
  padding: 4rem 0;
  background-color: #f8fafc; /* Subtle modern light background */
  min-height: calc(100vh - 200px);
  font-family: 'Inter', sans-serif;
  color: #1e293b;
}

.auth-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the whole content block */
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.5px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
}

.auth-column {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-column:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.auth-column h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0f172a;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.25s ease;
  background-color: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: #6366f1;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.toggle-password:hover {
  color: #6366f1;
}

.btn-auth {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  width: 100%;
  margin-bottom: 15px;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.form-actions {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.form-actions .btn-auth {
  width: auto;
  margin-bottom: 0;
}

.forgot-password {
  color: #6366f1;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.forgot-password:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.terms-notice {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.terms-notice a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.terms-notice a:hover {
  text-decoration: underline;
}

/* Modal de E-mail enviado */
#email-verification-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 10005;
  backdrop-filter: blur(4px);
}

.verification-modal-content {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 768px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .auth-column {
    padding: 1.5rem;
  }
}
