 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Main container */
.login-container {
    margin-right: 200px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 20px;
    position: relative;
    z-index: 2;
}
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
/* Logo in corner */
.corner-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}
.corner-logo img {
    /* height: 50px;
    width: auto; */
    width: 250px;
}
/* Form section */
.form-section {
    padding: 30px;
    background: white;
}
.form-header {
    text-align: center;
    margin-bottom: 3rem;
}
.form-header img {
    /* width: 250px; */
    height: 60px;
    margin-bottom: 1rem;
}
.form-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.form-header .subtitle {
    color: #6b7280;
    font-size: 1rem;
}
/* Form styling */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}
.input-wrapper {
    position: relative;
}
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 50px 14px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #374151;
}
.form-control:focus {
    border-color: #0476a1;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
    outline: none;
}
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.2rem;
}
.password-toggle {
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}
.password-toggle:hover {
    color: #0476a1;
}
.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}
.forgot-password a {
    color: #0476a1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.forgot-password a:hover {
    color: #0476a1;
}
.alert {
    border-radius: 12px;
    border: none;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
}
.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}
/* Responsive styles */
@media (max-width: 768px) {
    /* Estilos para pantallas más pequeñas que 768px */
     .login-card {
        margin: 10px;
        border-radius: 15px;
    }
    .corner-logo {
        text-align: center;
        width: 100%;
        left: 0;
        padding: 10px;
    }
    .corner-logo img {
        width: 180px;
    }
    .form-header h3 {
        font-size: 1.5rem;
    }
    .login-container{
        margin-right: 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Estilos para pantallas más pequeñas que 576px */
     .corner-logo{
        /* display: none; */
    }
}
@media (max-height: 885px) and (max-width: 1000px) {
    .corner-logo{
        display: none;
    }
}
@media (max-width: 1023px) {
    .corner-logo img {
        width: 150px;
    }
    .login-container{
        margin-right: 0;
        justify-content: center;
    }
}

/* Barra de colores responsive */
.color-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    display: flex;
    z-index: 1000;
}
.color-segment {
    flex: 1;
    height: 100%;
    transition: height 0.3s ease;
}
.color-segment:hover {
    height: 12px;
    cursor: pointer;
}
.orange {
    background-color: #f46807;
}
.yellow {
    background-color: #ffb800;
}
.blue {
    background-color: #0476a1;
}
.green {
    background-color: #53a940;
}
/* Contenedor de fondo */
.video-background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden; 
}
/* Estilo del video para que cubra toda la pantalla */
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}