body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
.header {
  background-color: #a80000; /* vermelho CAF */
  color: #ffffff;
  padding: 25px;
  text-align: center;
}

.header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
}


.header p {
  margin: 6px 0 0;
  font-size: 1rem;
  color: #f0f0f0;
}

.home-link {
  position: absolute;
  top: 20px;
  right: 25px;

  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 22px;

  display: flex;
  align-items: center;
  gap: 8px;
}

/* CAIXA CENTRAL */
.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.forgot-password-container {
  background-color: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  width: 90%;
  max-width: 420px;
}

.forgot-password-container h2 {
  text-align: center;
  color: #a80000;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* FORM */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d2d2d2;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

/* BOTÃO */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #a80000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background-color: #880000;
}

/* FLASH */
.flash-messages {
  margin-bottom: 20px;
}

.alert {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FOOTER */
.footer {
  background-color: #a80000;
  color: #ffffff;
  padding: 18px;
  text-align: center;
  font-size: 14px;
}

.footer span {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
}

.footer em {
  color: #f0f0f0;
  font-style: italic;
}
