/* recuperar-senha.css atualizado */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

:root {
  --texto-primario: #2d2d2d;
  --texto-secundario: #666666;
  --accent1: #916cf1;
  --accent2: #5a2ff4;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--texto-primario);
  height: 100%;
  overflow-x: hidden;
}

.box-log-cad {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(16, 14, 67, 0.18);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

.logo-log-cad {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}

.titulo-log-cad {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent1);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* GRUPO DE INPUT + LABEL */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--texto-secundario);
}

input[type="email"], input[type="password"] {
  width: 100%;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

input[type="email"]:focus, input[type="password"]:focus {
  border: 1.5px solid var(--accent1);
  box-shadow: 0 6px 18px rgba(145,108,241,0.08);
  background: #fff;
}

button {
  width: 100%;
  padding: 0.95rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent1) 40%, var(--accent2) 100%);
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin-top: 1rem;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(90, 47, 244, 0.12);
}

.erro {
  color: #c92a2a;
  background: rgba(255, 200, 200, 0.08);
  border: 1px solid rgba(201, 42, 42, 0.12);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.header-log-cad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.8rem;
}

.logo-log-cad {
  width: 48px;
  height: auto;
  cursor: pointer;
  margin-bottom: 0;
}

.titulo-log-cad {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent1);
  line-height: 1.2;
  text-align: left;
}

.voltar-link {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: all 0.18s ease;
  z-index: 30;
  cursor: pointer;
}

.voltar-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.icon-voltar {
  font-size: 2.5rem;
  color: #5a2ff4;
}

@media (max-width: 480px) {
  .box-log-cad {
    padding: 1.5rem;
  }
  .titulo-log-cad {
    font-size: 1.6rem;
  }
}