@font-face {
            font-family: 'Madelyn';
            src: local('../Fonts/Madelyn Fill-Regular'), local('Madelyn-Fill-Regular'),
                url('../Fonts/MadelynFill-Regular.woff2') format('woff2'),
                url('../Fonts/MadelynFill-Regular.woff') format('woff'),
                url('../Fonts/MadelynFill-Regular.ttf') format('truetype');
            font-weight: 400;
            font-style: normal;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Raleway', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #2C78E8 0%, #0b57c9 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
        }

        .login-container {
            width: 100%;
            max-width: 1200px;
            height: 90vh;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            display: flex;
            overflow: hidden;
        }

        .left-section {
            flex: 1;
            background: linear-gradient(135deg, #0b57c9 0%, #2C78E8 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .logo-container {
            text-align: center;
            animation: fadeInUp 1s ease-out;
        }

        .company-logo {
            /*
            width: 150px;
            height: 150px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            */
            margin-bottom: 2rem;
            /*
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            */
            animation: pulse 4s infinite;
        }

        .company-logo svg {
            width: 80px;
            height: 80px;
            color: #4facfe;
        }

        .company-img {
                width: 200px;
                max-width: 100%;
                height: auto;
            }

        .company-name {
            color: white;
            font-family: 'Madelyn';
            font-size: 2.5rem;
            font-weight: 100;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            margin-bottom: 1rem;
            opacity: 0;
            animation: slideInLeft 0.8s ease-out 0.3s forwards;
            /*
            text-align: left;
            */
        }

        .company-slogan {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            text-align: center;
            line-height: 1.6;
            max-width: 80%;
            opacity: 0;
            animation: slideInLeft 0.8s ease-out 0.6s forwards;
        }

        .right-section {
            flex: 1;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-header {
            margin-bottom: 2rem;
        }

        .login-header h2 {
            color: #333;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 0.2s forwards;
        }

        .login-header p {
            color: #666;
            font-size: 1rem;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 0.4s forwards;
        }

        .form-group {
            margin-bottom: 1.5rem;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 0.6s forwards;
            position: relative;
        }

        .form-group:nth-child(2) { animation-delay: 0.8s; }
        .form-group:nth-child(3) { animation-delay: 1s; }
        .form-group:nth-child(4) { animation-delay: 1.2s; }
        .form-group:nth-child(5) { animation-delay: 1.4s; }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #555;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-group input:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }

        .form-group select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-group select:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }
        /* Estilo para el botón de mostrar/ocultar contraseña */
        .password-toggle {
            position: absolute;
            right: 12px;
            top: 70%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #777;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .password-toggle:hover {
            background-color: #f0f0f0;
            color: #4facfe;
        }

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 1.4s forwards;
        }

        .remember {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .remember input {
            margin: 0;
        }

        .forgot-password {
            color: #4facfe;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: #00f2fe;
            text-decoration: underline;
        }

        .login-button {
            
            width: 100%;
            padding: 14px;
            background: #d4ff83;
            color: black;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 1.6s forwards;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
        }

        .signup-link {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.95rem;
            color: #666;
            opacity: 0;
            animation: slideInRight 0.6s ease-out 1.8s forwards;
        }

        .signup-link a {
            color: #4facfe;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .signup-link a:hover {
            color: #00f2fe;
            text-decoration: underline;
        }

        .hojas {
            width: 110px;
            height: 110px;
            opacity: 0.1;
            animation: fadeInUp 1s forwards;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .login-container {
                height: auto;
                margin: 1rem;
            }
            
            .left-section, .right-section {
                padding: 2rem;
            }
            
            .company-name {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) or (max-height: 670px) {
            .login-container {
                flex-direction: column;
                height: auto;
            }
            
            .left-section {
                padding: 2rem 1rem;
            }
            
            .right-section {
                padding: 2rem 1rem;
            }
            /*
            .company-logo {
                
                width: 120px;
                height: 120px;
                
            }
            */
            .company-logo svg {
                width: 60px;
                height: 60px;
            }
            
            .company-name {
                font-size: 1.8rem;
            }
            .hojas {
                width: 55px;
                height: 55px;
            }
        }

        @media (max-height: 670px) {
            .login-container {
                flex-direction: column;
                height: auto;
            }
            
            .left-section {
                padding: 2rem 1rem;
            }
            
            .right-section {
                padding: 2rem 1rem;
            }
            /*
            .company-logo {
                
                width: 120px;
                height: 120px;
                
            }
            */
            .company-logo svg {
                width: 60px;
                height: 60px;
            }
            
            .company-name {
                font-size: 1.8rem;
            }
            .hojas {
                width: 55px;
                height: 55px;
            }
        }

        @media (max-width: 480px) {
            .remember-forgot {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .company-img {
                width: 120px;
                height: 50px;
            }
            
            .company-name {
                font-size: 1.5rem;
            }
            
            .company-slogan {
                font-size: 1rem;
            }
            
            .login-header h2 {
                font-size: 1.5rem;
            }
            
            .password-toggle {
                right: 10px;
            }
            .hojas {
                width: 55px;
                height: 55px;
            }
            .manual-img {
                max-width: 150px;
            }
        }

/* Estilos para el botón del Manual */
.manual-group {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInRight 0.6s ease-out 1.95s forwards;
    max-width: 210px;
    width: 100%;
    margin: 1rem auto;
}

#btnManual {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

#btnManual:focus {
    outline: none;
    box-shadow: none;
}

.manual-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: inline-block;
    border: none;
    box-shadow: none;
}

#btnManual:hover .manual-img {
    transform: translateY(-3px);
    transition: transform 0.25s ease;
}

@media (max-width: 480px) {
    .manual-group { max-width: 190px; }
}

