/* ==== Estilos globales ==== */
body {
  margin: 0;
  background-color: #000;
  color: #DD9D30;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  padding: 40px 20px;
}

img.logo {
  max-width: 200px;
  margin-bottom: 30px;
}

h1 {
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 300px;
}

li {
  margin: 10px 0;
}

a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

a:hover {
  text-decoration: underline;
}

/* ==== Botón cerrar sesión ==== */
#logoutBtn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #DD9D30;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
#logoutBtn:hover {
  background-color: #b57d1f;
}

/* ==== Footer fijo ==== */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #000;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #222;
}

/* ==== Botón volver al portal ==== */
#backToHome {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #DD9D30;
  color: #000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
  text-decoration: none;
}
#backToHome:hover {
  background-color: #b57d1f;
}

/* ==== Estilos del login ==== */
.login-container {
  text-align: center;
  padding: 40px 20px;
  background: #111;
  border: 1px solid #222;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(221,157,48,0.2);
  max-width: 400px;
  width: 90%;
}
.login-container input {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 25px;
  outline: none;
  font-size: 16px;
  text-align: center;
}
.login-container input[type="text"],
.login-container input[type="password"] {
  background-color: #222;
  color: #fff;
}
.login-container input[type="submit"] {
  background-color: #DD9D30;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.login-container input[type="submit"]:hover {
  background-color: #b57d1f;
}
.error {
  color: #ff6b6b;
  margin-top: 10px;
}

/* ==== Responsive ==== */
@media (max-width: 600px) {
  #logoutBtn {
    bottom: 90px;
    right: 10px;
    padding: 8px 16px;
    font-size: 14px;
  }
  #backToHome {
    width: 80%;
    font-size: 16px;
  }
  .login-container {
    padding: 30px 15px;
  }
}