* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(1200px 520px at 10% -10%, rgba(2, 193, 158, 0.12), transparent 60%), #f4f9f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #15353d;
}

.container {
  background: #fff;
  width: 100%;
  max-width: 430px;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(2, 35, 42, 0.10);
  position: relative;
}

.logo {
  display: block;
  max-width: 180px;
  margin: 0 auto 20px;
}

.progress-bar {
  height: 4px;
  background: #d6e6e3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress {
  height: 100%;
  width: 0%;
  background: #02c19e;
  transition: width 0.4s ease;
}

.step {
  display: none;
  text-align: center;
  animation: fadeSlide 0.4s ease;
}

.step.active {
  display: block;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

h2 {
  color: #20444a;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border: 1.5px solid #d1e2df;
  border-radius: 10px;
  background: #f6fbfa;
  font-size: 1rem;
  color: #17363d;
  transition: border 0.3s ease, background 0.3s ease;
}

input:focus {
  border: 1.5px solid #02c19e;
  background: #fff;
  outline: none;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

button,
.btn-secondary,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 14px;
  border: none;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

#voltar {
  background: #d6dedd;
  color: #3f585d;
}

#voltar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#avancar,
#finalizar,
.btn-primary {
  background: #02c19e;
  color: #fff;
}

#avancar:hover,
#finalizar:hover,
.btn-primary:hover {
  background: #01a786;
  box-shadow: 0 6px 14px rgba(2, 193, 158, 0.26);
}

.btn-secondary {
  background: #e9f6f3;
  color: #027f79;
  margin-top: 12px;
}

.btn-secondary:hover {
  background: #d7f0eb;
}

.alerta {
  margin: 0 0 12px;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  background: #ffe9e7;
  color: #af2e2e;
  border: 1px solid #ffd1ce;
}

.alerta.ok {
  background: #e9faf4;
  color: #0f7a55;
  border: 1px solid #c8efd9;
}

.error {
  color: #d63a3a;
  font-size: 0.9rem;
  margin-top: 5px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.error.show {
  opacity: 1;
}

.status {
  font-size: 0.95rem;
  color: #3f565b;
  margin: 5px 0;
  min-height: 22px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.status.show {
  opacity: 1;
}

.status.loading {
  color: #51606c;
}

.status.success {
  color: #168a5a;
  font-weight: 600;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  text-align: left;
  font-size: 0.9rem;
  color: #375056;
}

.senha-forca {
  height: 6px;
  border-radius: 4px;
  background: #d5e3e1;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.senha-forca.fraca {
  background: #e15a5a;
}

.senha-forca.media {
  background: #f0c64d;
}

.senha-forca.forte {
  background: #25b471;
}

.resumo {
  text-align: left;
  background: #f4fbfa;
  padding: 15px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #24464d;
  margin-bottom: 15px;
  border: 1px solid #e2f0ee;
}

.resumo div {
  margin-bottom: 8px;
}

.verify-card {
  text-align: center;
  background: #f8fffd;
  border: 1px solid #dff1ee;
  border-radius: 14px;
  padding: 20px 16px;
}

.verify-card p {
  margin-bottom: 10px;
  color: #3a565c;
}

.email-mask {
  font-size: 1.02rem;
  font-weight: 700;
  color: #06685f;
}

.muted {
  font-size: 0.85rem;
  color: #5f7b7f;
}

.verify-form {
  margin-top: 14px;
}

.codigo-input {
  text-align: center;
  letter-spacing: 4px;
  font-size: 1.1rem;
}

.verify-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-link {
  background: transparent;
  border: none;
  color: #047970;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-link.danger {
  color: #b53b3b;
}

@media (max-width: 480px) {
  .container {
    padding: 24px 15px;
    border-radius: 12px;
  }

  h2 {
    font-size: 1.08rem;
  }
}
