/* Estilo moderno inspirado no Uiverse.io */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f5f2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container principal */
.container {
  max-width: 400px;
  width: 100%;
  background: linear-gradient(0deg, #ffffff 0%, #f7f9fb 100%);
  border-radius: 40px;
  padding: 35px;
  border: 5px solid #ffffff;
  box-shadow: rgba(52, 70, 86, 0.3) 0px 25px 30px -20px;
  position: relative;
}

/* Botão de voltar */
.voltarBotao {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 26px;
  color: #344656;
  cursor: pointer;
  transition: transform 0.2s;
}

.voltarBotao:hover {
  transform: scale(1.1);
}

/* Título */
.titulo {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: #344656;
  margin-bottom: 25px;
  margin-top: 10px;
}

/* Labels */
.label {
  font-size: 12px;
  color: #000;
  margin-left: 8px;
  margin-bottom: 5px;
  display: block;
}

/* Inputs */
.input {
  width: 100%;
  background: white;
  border: none;
  padding: 14px 18px;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  box-shadow: #cfd8dc 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.input::placeholder {
  color: #aaa;
}

.input:focus {
  outline: none;
  border-inline: 2px solid #344656;
}

/* Campo de senha */
.senhaContainer {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 18px;
  box-shadow: #cfd8dc 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.senhaContainer:focus-within {
  border-inline: 2px solid #344656;
}

.senhaInput {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-size: 15px;
  outline: none;
}

.olhoBotao {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0 12px;
  font-size: 18px;
  color: #666;
  transition: transform 0.2s;
}

.olhoBotao:hover {
  transform: scale(1.2);
}

/* Botão principal */
.botao {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, #344656 0%, #4a5e70 100%);
  color: white;
  padding-block: 15px;
  margin-top: 10px;
  border-radius: 25px;
  box-shadow: rgba(52, 70, 86, 0.4) 0px 20px 10px -15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.botao:hover {
  transform: scale(1.03);
  box-shadow: rgba(52, 70, 86, 0.4) 0px 23px 10px -20px;
}

.botao:active {
  transform: scale(0.95);
  box-shadow: rgba(52, 70, 86, 0.4) 0px 15px 10px -10px;
}

/* Sugestões de ministério */
.listaSugestoes {
  list-style: none;
  padding: 0;
  margin-top: -10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 15px;
  background: #fff;
  max-height: 120px;
  overflow-y: auto;
  box-shadow: rgba(0,0,0,0.05) 0px 10px 15px -5px;
}

.itemSugestao {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.itemSugestao:hover {
  background-color: #f4f5f2;
}

/* Modais */
.modalFundo {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s;
}

.modalFundo.active {
  display: flex;
}

.modalContainer {
  padding: 25px 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  font-weight: bold;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modalFundo.active .modalContainer {
  transform: scale(1);
}

.modalContainer.sucesso {
  background-color: #4BB543;
}

.modalContainer.erro {
  background-color: #FF4C4C;
}
