/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonte e background em degradê igual ao app */
html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #3A0CA3 0%, #7209B7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* Container da página */
.register-page {
  width: 100%;
  max-width: 360px;
  padding: 1rem;
  margin-top: -15vh;
}

/* ——— cabeçalho ——— */
.logo-space {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
  /* altura reservada para logo + toast */
  padding-top: 100px;
}
/* espaço para sua imagem de logo */
.logo-terceirao {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 140px; /* ajuste conforme sua logo */
}


/* Card de cadastro */
.register-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-align: center;
}

/* Título */
.register-card h2 {
  font-size: 1.4rem;
  color: #3A0CA3;
  margin-bottom: 1.5rem;
}

/* Campos do formulário */
.field {
  text-align: left;
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-weight: 500;
  color: #3A0CA3;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.field label i {
  margin-right: 0.5rem;
}
.field input,
.field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: #7209B7;
}

/* Botão de enviar */
.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background: #7209B7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s;
}
.btn-submit i {
  font-size: 1.1rem;
}
.btn-submit:hover {
  background: #3A0CA3;
}

/* chuva de emojis */
@keyframes riseUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1.2);
    opacity: 0;
  }
}

.emoji {
  position: fixed;
  bottom: -2rem;
  font-size: 1.75rem;
  pointer-events: none;
  animation: riseUp 4s ease-out forwards;
  will-change: transform, opacity;
  z-index: 999;
}

.toast {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #2ecc71;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  align-items: center;
  gap: 10px;
}

.toast.mostrar {
  display: flex;
}

.toast.erro {
  background: #e74c3c;
}

.forgot-password {
  margin-top: 0.75rem;
  text-align: center;
}
.forgot-password a {
  color: #7209B7;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.forgot-password a:hover {
  text-decoration: underline;
  color: #3A0CA3;
}