:root {
  --primary-color: #109cfb;
  --primary-hover: #3fa7fe;
  --cor-secundaria: #615e5e;
  --text-dark: #202e3b;
  --text-light: #707474;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --border-color: #d9d9e3;
}

.recupera-main {
  padding-top: 40px;
  padding-bottom: 30px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #ffffff, #109cfb);
  flex: 1 0 auto; /* ocupa todo o espaço restante */
}
.recupera-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(74, 144, 226, 0.1);
  padding: 2.5rem 2rem 2rem 2rem;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.3rem 0;
  text-align: center;
}
.recupera-texto {
  font-size: 0.99rem;
  color: #555;
  text-align: center;
  margin: 0 0 0.5rem 0;
}
.recupera-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.input-group {
  width: 100%;
  position: relative;
}
.input-group label {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
  display: block;
}
.input-group input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #e3f2fd;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.18s;
  background: #f8f9fa;
}
.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
}
.recupera-btn {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-radius: 10px;
  background: var(--primary-color) !important;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(74, 144, 226, 0.08);
  transition: background 0.18s, transform 0.15s;
}
.recupera-btn:hover {
  background: var(--primary-hover) !important;
  transform: scale(1.03);
}
.recupera-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}
.recupera-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s;
}
.recupera-links a:hover {
  color: var(--primary-hover) !important;
}

.erro-login-msg,
.sucesso-login-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 9999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease;
}

.erro-login-msg {
  background-color: #f44336;
}

.sucesso-login-msg {
  background-color: #4caf50;
}

@media (max-width: 968px) {
  .recupera-card {
    max-width: 90vw;
    padding: 3rem 1rem;
  }
}
