/* /public/css/indexcliente.css  (atualizado - wallpaper local) */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* ✅ Atualizado: imagem local em /imagens/wallpaper */
  background: url("/imagens/wallpaper.jpg") no-repeat center center fixed;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.login-container {
  background: rgba(141, 73, 37, 0.85); /* marrom translúcido */
  padding: 40px 30px;
  border-radius: 15px;
  width: 350px;
  box-shadow: 0 0 30px rgba(197, 125, 86, 0.8);
  animation: fadeIn 1s ease forwards;
}

.login-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #f7ede3;
  text-align: center;
}

.login-box p {
  font-size: 1rem;
  margin-bottom: 25px;
  text-align: center;
  font-style: italic;
}

.login-box form {
  display: flex;
  flex-direction: column;
}

.login-box label {
  font-weight: bold;
  margin-bottom: 6px;
  color: #e9d8c7;
}

/* Inputs de email e senha */
.login-box input[type="email"],
.login-box input[type="password"],
.login-box input[type="text"] {
  /* Para manter o mesmo estilo ao alternar senha/text */
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  height: 40px;
  box-sizing: border-box;
  width: 100%;
  transition: all 0.3s ease;
}

/* Container do campo de senha e ícone */
.senha-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Input da senha - espaço para ícone */
.senha-container input {
  padding-right: 40px; /* espaço para o olho */
  width: 100%;
  box-sizing: border-box;
  height: 40px;
}

/* Ícone olho */
.toggle-senha {
  position: absolute;
  top: 30%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  user-select: none;
  color: #c57d56;
  transition: color 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.toggle-senha:hover {
  color: #fff;
}

.extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.extras label {
  font-weight: normal;
  font-size: 0.9rem;
  color: #f0e7dc;
  cursor: pointer;
}

.extras a {
  color: #f0e7dc;
  text-decoration: underline;
  font-size: 0.9rem;
}

.extras a:hover {
  color: #fff;
}

.btn-entrar {
  width: 200px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #8d4925, #c57d56);
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: 0 auto;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-entrar:hover {
  background: linear-gradient(90deg, #c57d56, #8d4925);
}

.criar-conta {
  margin-top: 25px;
  text-align: center;
  font-size: 1rem;
  color: #f7ede3;
}

.btn-criar {
  margin-top: 8px;
  background: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  color: #8d4925;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-criar:hover {
  background: #c57d56;
  color: white;
}

/* Animação de fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}