/* 1) Vídeo de fondo a pantalla completa */
#bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
  }
  
  /* Superposición oscura sutil */
  .video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: -1;
  }
  
  /* 2) Reset de márgenes/padding del BODY */
  body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: sans-serif;
    background: transparent;
    overflow: hidden;
  }
  
  /* 3) Centrar el login-card */
  .login-card {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #ffffff;          /* Blanco para buen contraste */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 2rem 1.5rem;
    z-index: 1;
    text-align: center;
  }
  
  /* 4) Logo */
  .login-logo {
    margin-bottom: 1rem;
  }
  .login-logo img {
    max-height: 80px;
  }
  
  /* 5) Título */
  .form-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #333;
  }
  
  /* 6) Campos de formulario */
  .form-group {
    margin-bottom: 1rem;
    position: relative;
  }
  .form-group label {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #666;
  }
  .form-group input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f0f8ff;
  }
  .form-group .invalid-feedback {
    display: block;
    text-align: left;
    color: #c00;
    margin-top: 0.25rem;
    font-size: 0.875rem;
  }
  
  /* 7) Recuérdame */
  .remember-me {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .remember-me label {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: #444;
  }
  
  /* 8) Botón Ingresar */
  .form-submit {
    background-color: #E53935 !important;  /* rojo vivo */
    border-color:     #E53935 !important;
    color:            #fff     !important;
    transition: background-color 0.2s;
    display: inline-block !important;
    padding: 0.75rem 1.5rem !important;
    text-align: center !important;
    line-height: normal !important; /* para que el texto no quede descentrado verticalmente */
    vertical-align: middle !important;
  }
  .form-submit:hover {
    background-color: #D32F2F !important;  /* un poco más oscuro */
    border-color:     #D32F2F !important;
  }
  
  /* 9) Link “¿Olvidaste tu contraseña?” */
  .forgot-link {
    display: inline-block;
    margin-top: 1rem;
    color: #ff0000;
    text-decoration: none;
  }
  .forgot-link:hover {
    text-decoration: underline;
  }
  
  .signin-form {
    background: rgba(255, 255, 255, 0.75) !important; /* un poco más transparente */
    backdrop-filter: blur(8px);                       /* desenfoque de fondo */
  }

  .signin-form .form-group a {
    color: #E53935 !important;
  }