body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  padding: 2rem;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.cupom button:hover {
  background: #ff4b00;
}

.container {
  max-width: 460px;
  width: 100%;
  background: white;  
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

p.valor {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

label {
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem;

  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

select {
  padding: 0.75rem;
  background-color: #f6f6f6;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.cupom {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cupom input {
  flex: 1 1 60%;
  min-width: 60%;
  max-width: 60%;
}

.cupom button {
  flex: 1 1 35%;
  background: #ff4b00;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  min-width: 35%;
  max-width: 35%;
  margin-top: -60px;
}

#erro-cupom {
  flex: 1 1 60%;
  min-width: 60%;
  max-width: 60%;
}

.row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.row .form-group {
  flex: 1 1 45%;
  min-width: 45%;
}

.resumo {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  font-size: 15px;
}

.resumo .row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.resumo strong {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 16px;
}

.resumo p {
  margin: 0.5rem 0;
  font-size: 14px;
}

.resumo strong {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 16px;
}

.submit-btn {
  background: #ff4b00;
  color: white;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 1.5rem;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  .container {
    max-width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 0;
    box-shadow: none;
  }

  .row {
    flex-direction: column;
  }

  .row input,
  .row .form-group,
  .cupom input,
  .cupom button {
    width: 100% !important;
    flex: 1 1 100%;
  }

  .steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2px;
    padding-bottom: 1rem;
  }

  .step {
    flex: 0 0 auto;
    text-align: center;
    min-width: 70px;
    position: relative;
  }

  .step .label {
    font-size: 0.70rem;
  }

  .step .circle {
    font-size: 0.70rem;
    width: 22px;
    height: 22px;
    line-height: 22px;
  }

  .bandeira{
    width: 10%;
    margin-right: 25px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;

}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.form-control {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin: 20px auto;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
}

.step.active .circle {
  background-color: #ff6600;
  /* ou a cor laranja desejada */
}

.label {
  font-size: 14px;
  margin-top: 6px;
  text-align: center;
}

/* LINHAS entre os passos */
.step::before {
  content: "";
  position: absolute;
  top: 25%;
  left: -50%;
  width: 100%;
  height: 4px;
  background-color: #ccc;
  z-index: 0;
}

/* Remover linha antes do primeiro */
.step:first-child::before {
  content: none;
}


.code-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.code-inputs input.code {
  width: 40px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border 0.2s ease;
}

.code-inputs input.code:focus {
  border-color: #ff6600;
}

.erro {
  border: 1px solid red !important;
}

.mensagem-erro {
  color: red;
  font-size: 0.9em;
}

.forgot-password-link {
  font-size: 14px;
  color: orangered;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.forgot-password-link:hover {
  color: orangered;
}


.loader {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}





.card-brands {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-brand {
  border: 2px solid transparent;
  padding: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: border 0.2s;
}

.card-brand.selected {
  border-color: blue;
}

.card-brand img {
  height: 40px;
}

.card-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  margin-bottom: 10px;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}


.plan-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-box:hover {
  border-color: #ff6600;
}

.plan-box input[type="radio"] {
  accent-color: #ff6600;
  width: 18px;
  height: 18px;
}

.tag-recomendado {
  position: absolute;
  top: -26px;
  left: 38%;
  background-color: #ff6600;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-2deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.plan-box input[type="radio"]:checked~div {
  border-color: #ff6600;
  background-color: #fff3eb;
}

.plan-box:has(input[type="radio"]:checked) {
  border-color: #ff6600;
  background-color: #fff3eb;
}

.desativado {
  background-color: #eee;
  cursor: not-allowed;
  opacity: 0.6;
}

.forma-pagamento {
  margin-top: 1rem;
  font-size: 14px;
  color: #333;
}

#fireworks {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 0;
}
