* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/background2.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: -1;
}


/* Barra superior */
.topbar {
  min-height: 94px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.topbar img {
  height: 80px;
}

/* Contenedor principal */
.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Título */
.login-title {
  margin-bottom: 25px;
  color: #7b7d85;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
}

/* Caja del formulario */
.form-box {
  width: 350px;
  padding: 50px;
  border: 2px solid #404041;
  border-radius: 15px;
  text-align: center;
}

/* Inputs */
.form-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* Botón */
.form-box button {
  width: 100%;
  padding: 12px;
  background-color: #404041;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.form-box button:hover {
  opacity: .8;
}

/* Error */
.error {
  color: red;
  margin-bottom: 10px;
}

/* Términos */
.terms {
  margin-top: 15px;
}

.terms a {
  font-size: 13px;
  text-decoration: none;
  color: #6699FF;
}

.terms a:hover {
  text-decoration: underline;
}

.parrafoError {
  color: #404041;
  font-size: 40px;
  margin-top: 50px;
}