        /* Estilos adicionales para mejorar el diseño */
        body {
            background: linear-gradient(135deg, var(--bg-color) 0%, var(--primary-color) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        /* Elementos decorativos de fondo */
        body::before {
            content: '';
            position: fixed;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
            z-index: -1;
        }

        body::after {
            content: '';
            position: fixed;
            bottom: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(59, 108, 176, 0.2) 0%, transparent 70%);
            animation: rotate 45s linear infinite reverse;
            z-index: -1;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .version-bar {
            top: 0;
            left: 0;
            right: 0;
            padding: 8px 15px;
            font-size: 12px;
            background: rgba(26, 62, 114, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .login-container {
            background: var(--container-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            width: 100%;
            max-width: 420px;
            padding: 40px;
            text-align: center;
            position: relative;
            transform: translateY(0);
            animation: slideUp 0.8s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo {
            margin-bottom: 35px;
            position: relative;
        }

        .logo img {
            width: 120px;
            height: auto;
            margin-bottom: 15px;
            border-radius: 50%;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }

        .logo img:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        }

        .logo h1 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 8px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 2px;
        }

        .logo p {
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-color);
            opacity: 0.8;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .error-box {
            margin-bottom: 25px;
            padding: 15px 20px;
            background: linear-gradient(135deg, var(--error-bg-light), rgba(229, 62, 62, 0.1));
            border: 1px solid var(--error-border-light);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-5px);
            }

            75% {
                transform: translateX(5px);
            }
        }

        .error-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--error-color);
        }

        .error-list {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .error-list li {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            color: var(--error-text-light);
            font-weight: 500;
        }

        .error-list li::before {
            content: '\f071';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--error-color);
            flex-shrink: 0;
        }

        .error-list li:last-child {
            margin-bottom: 0;
        }

        .login-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .input-group {
            text-align: left;
            position: relative;
        }

        .input-group label {
            display: block;
            margin-bottom: 10px;
            color: var(--text-color);
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .input-group label::before {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--primary-color);
        }

        .input-group:nth-child(1) label::before {
            content: '\f007';
            /* fa-user */
        }

        .input-group:nth-child(2) label::before {
            content: '\f023';
            /* fa-lock */
        }

        .input-group input {
            width: 100%;
            padding: 15px 18px;
            background: var(--input-bg);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 1rem;
            color: var(--text-color);
            box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.15), inset 0 2px 6px rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
        }

        .input-group input:hover:not(:focus) {
            border-color: var(--accent-color);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 10px 0;
        }

        .remember-me input[type="checkbox"] {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid var(--primary-color);
            border-radius: 6px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .remember-me input[type="checkbox"]:checked {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .remember-me input[type="checkbox"]:checked::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
        }

        .remember-me label {
            color: var(--text-color);
            font-size: 0.95rem;
            cursor: pointer;
            user-select: none;
        }

        .login-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border: none;
            border-radius: 12px;
            padding: 16px 24px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .login-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
        }

        .login-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(26, 62, 114, 0.4);
        }

        .login-btn:active {
            transform: translateY(-1px);
            box-shadow: 0 5px 15px rgba(26, 62, 114, 0.3);
        }

        .settings-link {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
            margin-top: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .settings-link::before {
            content: '\f013';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
        }

        .settings-link:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

        .settings-link:hover::before {
            transform: rotate(90deg);
        }

        .settings-panel {
            display: none;
            margin-top: 25px;
            padding: 25px;
            background: var(--bg-color);
            border-radius: 15px;
            border: 1px solid var(--border-color);
            animation: fadeIn 0.3s ease-out;
        }

        .settings-panel.show {
            display: block;
        }

        .settings-panel h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .settings-panel h3::before {
            content: '\f1de';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--secondary-color);
        }

        .settings-option {
            margin-bottom: 20px;
        }

        .settings-option label {
            display: block;
            margin-bottom: 10px;
            color: var(--text-color);
            font-weight: 600;
        }

        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            background: var(--container-bg);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .radio-option:hover {
            border-color: var(--primary-color);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .radio-option input[type="radio"]:checked+label {
            color: var(--primary-color);
            font-weight: 600;
        }

        .radio-option:has(input:checked) {
            border-color: var(--primary-color);
            background: rgba(26, 62, 114, 0.05);
        }

        .font-size-selector {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .font-size-dots {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }

        .dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .dot:hover {
            transform: scale(1.2);
        }

        .dot.active {
            background: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.2);
        }

        .font-size-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-color);
            opacity: 0.7;
        }

        .back-to-login {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 0.9rem;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .back-to-login:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }

        /* Responsividad mejorada */
        @media (max-width: 480px) {
            .login-container {
                padding: 30px 25px;
                margin: 10px;
                border-radius: 15px;
            }

            .logo h1 {
                font-size: 1.8rem;
            }

            .logo img {
                width: 100px;
            }

            body {
                padding: 10px;
            }

            .version-bar {
                margin-bottom: 20px;
                border-radius: 10px;
            }

            .radio-group {
                gap: 8px;
            }

            .radio-option {
                padding: 8px 12px;
            }
        }

        /* Tema oscuro mejorado */
        [data-theme="dark"] .login-container {
            background: rgba(26, 36, 56, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .logo img {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] .error-box {
            background: linear-gradient(135deg, var(--error-bg-dark), rgba(252, 129, 129, 0.1));
            border-color: var(--error-border-dark);
        }

        [data-theme="dark"] body {
            background: linear-gradient(135deg, var(--bg-color) 0%, #0f1419 100%);
        }