sin-titulo

Pasted Sep 27, 2026, 7:52 AM1 file384 lines

Scan to open on your phone

Point a camera at the QR code - it opens this exact paste, no app needed.

https://codepastes.com/zzgt9gs9pjrytzxb
sin-titulo
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MiTaxi - MiSaldo | Portal de Facturación</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --brand-blue: #0284c7;
            --brand-dark: #0f172a;
            --brand-yellow: #f59e0b;
            --bg-light: #f8fafc;
            --gray-border: #e2e8f0;
            --gray-text: #64748b;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: #1e293b;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .container {
            width: 100%;
            max-width: 1050px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: row;
            overflow: hidden;
            min-height: 580px;
        }

        .login-section {
            flex: 1;
            padding: 40px 48px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .brand-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .brand-logo {
            background: var(--brand-yellow);
            color: #ffffff;
            width: 42px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }

        .brand-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--brand-dark);
        }

        .brand-badge {
            background: #e0f2fe;
            color: var(--brand-blue);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
            margin-left: 6px;
        }

        .welcome-text h2 {
            font-size: 1.5rem;
            color: var(--brand-dark);
            margin-bottom: 6px;
        }

        .welcome-text p {
            color: var(--gray-text);
            font-size: 0.88rem;
            margin-bottom: 24px;
        }

        .role-selector {
            display: flex;
            background: #f1f5f9;
            padding: 4px;
            border-radius: 10px;
            margin-bottom: 24px;
        }

        .role-btn {
            flex: 1;
            padding: 10px 14px;
            border: none;
            background: transparent;
            font-weight: 600;
            font-size: 0.88rem;
            color: var(--gray-text);
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s ease;
        }

        .role-btn.active {
            background: #ffffff;
            color: var(--brand-blue);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #334155;
            margin-bottom: 6px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--gray-border);
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.2s;
        }

        .input-wrapper input:focus {
            border-color: var(--brand-blue);
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-text);
            cursor: pointer;
            font-size: 0.95rem;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            font-size: 0.85rem;
        }

        .forgot-link {
            color: var(--brand-blue);
            text-decoration: none;
            font-weight: 500;
        }

        .btn-submit {
            width: 100%;
            padding: 12px;
            background: var(--brand-blue);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .register-footer {
            text-align: center;
            margin-top: 18px;
            font-size: 0.85rem;
            color: var(--gray-text);
        }

        .register-footer a {
            color: var(--brand-blue);
            font-weight: 600;
            text-decoration: none;
        }

        .legal-notice {
            font-size: 0.75rem;
            color: #94a3b8;
            margin-top: 20px;
            text-align: center;
            border-top: 1px solid #f1f5f9;
            padding-top: 12px;
        }

        .hero-section {
            flex: 1;
            background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .hero-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 32px;
            border-radius: 16px;
            width: 100%;
            max-width: 360px;
            text-align: center;
        }

        .hero-icon {
            font-size: 2.5rem;
            color: var(--brand-yellow);
            margin-bottom: 16px;
        }

        .hero-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-desc {
            font-size: 0.85rem;
            color: #e2e8f0;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .container { flex-direction: column; }
            .hero-section { display: none; }
            .login-section { padding: 30px 20px; }
        }
    </style>
</head>
<body>

    <div class="container">
        <div class="login-section">
            <div>
                <div class="brand-header">
                    <div class="brand-logo">
                        <i class="fa-solid fa-taxi"></i>
                    </div>
                    <div class="brand-title">
                        MiTaxi <span class="brand-badge">SFINX</span>
                    </div>
                </div>

                <div class="welcome-text">
                    <h2>Portal de Facturación</h2>
                    <p>Inicia sesión para gestionar tus comprobantes fiscales.</p>
                </div>

                <!-- SELECTOR DE ROL -->
                <div class="role-selector">
                    <button type="button" class="role-btn active" id="btnPasajero" onclick="selectRole('pasajero')">
                        <i class="fa-solid fa-user"></i> Pasajero
                    </button>
                    <button type="button" class="role-btn" id="btnTaxista" onclick="selectRole('taxista')">
                        <i class="fa-solid fa-id-card"></i> Taxista / Conductor
                    </button>
                </div>

                <form id="loginForm" onsubmit="event.preventDefault(); alert('Sesión iniciada correctamente.');">
                    <div class="form-group">
                        <label for="email">Correo Electrónico / Usuario</label>
                        <div class="input-wrapper">
                            <input type="email" id="email" placeholder="ejemplo@correo.com" required>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="password">Contraseña</label>
                        <div class="input-wrapper">
                            <input type="password" id="password" placeholder="••••••••" required>
                            <i class="fa-solid fa-eye toggle-password" id="eyeIcon" onclick="togglePasswordVisibility()"></i>
                        </div>
                    </div>

                    <div class="form-options">
                        <label style="display: flex; align-items: center; gap: 6px; cursor: pointer;">
                            <input type="checkbox"> Recordarme
                        </label>
                        <a href="#" class="forgot-link" onclick="alert('Instrucciones enviadas a tu correo para restablecer contraseña.');">¿Olvidaste tu contraseña?</a>
                    </div>

                    <button type="submit" class="btn-submit">
                        Iniciar Sesión <i class="fa-solid fa-arrow-right"></i>
                    </button>
                </form>

                <div class="register-footer">
                    ¿Aún no tienes cuenta? <a href="#">Regístrate aquí</a>
                </div>
            </div>

            <div class="legal-notice">
                MiSaldo (Sfinx) opera exclusivamente como puente tecnológico de conexión fiscal.
            </div>
        </div>

        <div class="hero-section">
            <div class="hero-card">
                <div class="hero-icon">
                    <i class="fa-solid fa-qrcode"></i>
                </div>
                <div class="hero-title">Conexión Fiscal Inmediata</div>
                <div class="hero-desc">
                    Plataforma inteligente para la emisión y gestión transparente de comprobantes de servicio de transporte.
                </div>
            </div>
        </div>
    </div>

    <script>
        function selectRole(role) {
            const btnPasajero = document.getElementById('btnPasajero');
            const btnTaxista = document.getElementById('btnTaxista');

            if (role === 'pasajero') {
                btnPasajero.classList.add('active');
                btnTaxista.classList.remove('active');
            } else {
                btnTaxista.classList.add('active');
                btnPasajero.classList.remove('active');
            }
        }

        function togglePasswordVisibility() {
            const passwordInput = document.getElementById('password');
            const eyeIcon = document.getElementById('eyeIcon');

            if (passwordInput.type === 'password') {
                passwordInput.type = 'text';
                eyeIcon.classList.remove('fa-eye');
                eyeIcon.classList.add('fa-eye-slash');
            } else {
                passwordInput.type = 'password';
                eyeIcon.classList.remove('fa-eye-slash');
                eyeIcon.classList.add('fa-eye');
            }
        }
    </script>
</body>
</html>

11,757 chars · codepastes.com