html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 480px; /* límite en pantallas grandes */
    aspect-ratio: 4 / 3; /* mantiene proporción estable */
    overflow: hidden;
}

    .video-container video,
    .video-container canvas {
        border-radius: 8px;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        object-fit: cover; /* fuerza a que el video se adapte al contenedor */
    }



body {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
}

.login-card {
    background: #1f1f2e;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    padding: 2rem;
    margin-top: 5rem;
    transition: transform 0.2s ease-in-out;
}

    .login-card:hover {
        transform: translateY(-5px);
    }

    .login-card h3 {
        color: #9d8df1;
        font-weight: bold;
    }

.form-label {
    color: #cfcfe6;
}

.form-control {
    background-color: #2a2a3d;
    border: none;
    border-radius: 8px;
    color: #e0e0e0;
}

    .form-control:focus {
        background-color: #33334d;
        color: #fff;
        box-shadow: 0 0 0 2px #9d8df1;
    }

.btn-login {
    background: linear-gradient(135deg, #6a5acd, #483d8b);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem;
    transition: background 0.3s ease;
}

    .btn-login:hover {
        background: linear-gradient(135deg, #7b68ee, #5a4fcf);
    }

.alert-danger {
    background-color: #3d1f2f;
    color: #ffb3b3;
    border: none;
    border-radius: 8px;
}

a {
    color: #9d8df1;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        color: #b3a6f9;
    }