/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Corpo da página */
body {
  background: linear-gradient(135deg, #0a7cff, #00c6ff);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

/* Container central */
.container {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
  transition: transform 0.3s;
  position: relative;
}

.container:hover {
  transform: translateY(-5px);
}

/* Título */
.container h2 {
  margin-bottom: 25px;
  color: #0a7cff;
  font-size: 24px;
  font-weight: 600;
}

/* Inputs */
input[type="email"],
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 42px 12px 16px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  border-color: #0a7cff;
  box-shadow: 0 0 8px rgba(10, 124, 255, 0.4);
  outline: none;
}

/* Container da senha */
.senha-container {
  position: relative;
  width: 100%;
}

/* Ícone mostrar/ocultar senha */
.toggle-senha {
  position: absolute;
  right: 12px;
  top: 35%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.toggle-senha:hover {
  color: #0a7cff;
}

/* Botão */
button {
  width: 100%;
  padding: 12px;
  background-color: #0a7cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin-bottom: 12px; /* espaço entre os botões */
}

button:hover {
  background-color: #006fcc;
  transform: translateY(-2px);
}

/* Feedback */
#feedback {
  color: #ff4d4f;
  margin-top: 10px;
  font-size: 14px;
  min-height: 18px;
}

/* Link */
p a {
  color: #0a7cff;
  text-decoration: none;
  font-weight: 500;
}

p a:hover {
  color: #006fcc;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 400px) {
  .container {
    width: 90%;
    padding: 30px 20px;
  }
}

/* Loader botão */
button.loading .btn-text {
  display: none;
}

button.loading .loader {
  display: inline-block;
}

.loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#senha-forca {
  font-size: 13px;
  margin-bottom: 10px;
  text-align: left;
}
