body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #eb5939, #f89d33);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  padding: 20px;
}

.containerPrincipal {
  width: 100%;
  max-width: 450px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.areaFormulario {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}

.logoEmpresa {
  text-align: center;
  margin-bottom: 2rem;
}
.logoEmpresa img {
  transition: transform 0.3s ease;
}
.logoEmpresa img:hover {
  transform: scale(1.05);
}

.tituloFormulario {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #FF7C00;
  text-align: center;
  line-height: 1.2;
}

.descricaoFormulario {
  color: #666;
  margin-bottom: 2.5rem;
  margin-top: 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.tela-selecao {
  text-align: center;
}

.botoesSelecao {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.botaoSelecao {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}
.botaoSelecao:hover {
  background: #ffffff;
  border-color: #FF7C00;
}
.botaoSelecao:hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 124, 0, 0.15);
}

.icone-botao {
  font-size: 2rem;
  margin-right: 1rem;
  width: 50px;
  text-align: center;
}

.texto-botao h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}
.texto-botao p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.formulario-container {
  transition: all 0.3s ease;
}

.oculto {
  display: none;
}

.formularioCadastro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.campo {
  display: flex;
  flex-direction: column;
}

.labelInput {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.campo input {
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}
.campo input:hover {
  border-color: #dee2e6;
  background-color: #ffffff;
}
.campo input:focus {
  border-color: #FF7C00;
  box-shadow: 0 0 0 3px rgba(255, 124, 0, 0.1);
  outline: none;
}
.campo input::-moz-placeholder {
  color: #999;
  font-weight: 400;
}
.campo input::placeholder {
  color: #999;
  font-weight: 400;
}

.linkRecuperarSenha {
  font-size: 0.875rem;
  color: #FF7C00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.linkRecuperarSenha:hover {
  color: #e85e08;
  text-decoration: underline;
}

.aceiteTermos {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.aceiteTermos input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #FF7C00;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}
.aceiteTermos input[type=checkbox]:checked {
  background-color: #FF7C00;
  border-color: #FF7C00;
}
.aceiteTermos input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.aceiteTermos label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
}
.aceiteTermos label a {
  color: #FF7C00;
  text-decoration: none;
  font-weight: 500;
}
.aceiteTermos label a:hover {
  text-decoration: underline;
}

.botaoLogin {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #FF7C00, #e85e08);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(255, 124, 0, 0.3);
}
.botaoLogin:hover {
  background: linear-gradient(135deg, #e85e08, #d35400);
  box-shadow: 0 6px 20px rgba(255, 124, 0, 0.4);
}
.botaoLogin:hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 124, 0, 0.15);
}
.botaoLogin:active {
  transform: translateY(0);
}

.textoRodape {
  margin-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
  color: #666;
}
.textoRodape span {
  cursor: pointer;
  color: #FF7C00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.textoRodape span:hover {
  color: #e85e08;
  text-decoration: underline;
}

.botaoVoltarTopo {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ffffff;
  color: #333;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  z-index: 10;
}
.botaoVoltarTopo:hover {
  background-color: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.botaoVoltarTopo:hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 124, 0, 0.15);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.fadeIn {
  animation: fadeIn 0.4s ease forwards;
}

.slideIn {
  animation: slideIn 0.4s ease forwards;
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert ul {
  margin: 0;
  padding-left: 1.2rem;
}
.alert li {
  margin-bottom: 0.25rem;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  .containerPrincipal {
    max-width: 100%;
    border-radius: 16px;
  }
  .areaFormulario {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  .tituloFormulario {
    font-size: 1.8rem;
  }
  .botaoSelecao {
    padding: 1.25rem;
  }
  .icone-botao {
    font-size: 1.5rem;
    width: 40px;
  }
  .texto-botao h3 {
    font-size: 1.1rem;
  }
  .texto-botao p {
    font-size: 0.85rem;
  }
  .campo input {
    padding: 0.875rem;
  }
  .botaoLogin {
    padding: 0.875rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .areaFormulario {
    padding: 1.5rem 1rem;
  }
  .tituloFormulario {
    font-size: 1.6rem;
  }
  .botaoSelecao {
    padding: 1rem;
  }
  .icone-botao {
    font-size: 1.25rem;
    width: 35px;
    margin-right: 0.75rem;
  }
  .texto-botao h3 {
    font-size: 1rem;
  }
  .texto-botao p {
    font-size: 0.8rem;
  }
  .botaoVoltarTopo {
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}
