/* ======= Configuración del body */
body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
}

/*LOGO*/
.logo {
    margin-top: 40px;
    font-size: 60px;
    color: #d50000;
}

/* TÍTULO */
h2 {
    margin-top: 10px;
    color: #d50000;
    font-size: 28px;
}

/* INPUT*/
.input-container {
    margin-top: 40px;
    width: 80%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 10px;
    background: #fff;
}

.input-container img {
    width: 22px;
    margin-right: 10px;
    opacity: 0.7;
}

.input-container input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
}

/* ======= BOTÓN ======= */
.btn-login {
    margin-top: 40px;
    width: 80%;
    background: #d50000;
    color: white;
    padding: 13px 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.btn-login:hover {
    background: #b40000;
}

/*Configuración de mensaje de "acceso denegado"*/
#toast {
    position: fixed;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    background: #d50000;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.30);
    z-index: 1000;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#toast.show {
    display: block;
    opacity: 1;
}

/* Configuración de la barra de carga o Loader */
#loader-bottom {
  position: fixed;
  bottom: 40px; /* No pegado abajo, como en tu mockup */
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

#loader-bottom.loader-hidden {
  display: none;
}

/* Colores del borde de la barra */
.loader-frame {
  width: 100%;
  height: 18px;
  background: #f5dbdb; /* Rojo muy suave */
  border: 3px solid #d50000;; /* Borde rojo brillante */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 91, 255, 0.4);
}

/* Barra interna */
.loader-fill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  background: linear-gradient(90deg, #fa0101, #f72020);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.8);
  transition: width 0.25s ease-out;
}