/* --- Estilos para el Portal de Acceso (v1.3) --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :root {
            --primary: #4285F4;
            --primary-dark: #3367D6;
            --success: #0F9D58;
            --success-dark: #0c7b43;
            --info: #5FC5D8;
            --info-dark: #4AB5C8;
            --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --bg-light: #f5f7fa;
            --card-bg: #ffffff;
            --text-primary: #1a1a2e;
            --text-secondary: #6c757d;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
            --radius-lg: 20px;
            --radius-xl: 24px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: var(--bg-light);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            position: relative;
        }

        /* Fondo decorativo sutil */
        body::before {
            content: '';
            position: fixed;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 80%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
        }

        .app-container {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: var(--bg-light);
        }

        /* Header moderno tipo app */
        .app-header {
            background: var(--card-bg);
            padding: 24px 24px 28px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            position: relative;
        }

        .logo-container {
            margin-bottom: 16px;
            animation: fadeInDown 0.6s ease-out;
        }

        .logo {
            max-width: 140px;
            height: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        }

        .app-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
            letter-spacing: -0.5px;
            animation: fadeInDown 0.6s ease-out 0.1s both;
        }

        .app-subtitle {
            font-size: 15px;
            color: var(--text-secondary);
            font-weight: 400;
            animation: fadeInDown 0.6s ease-out 0.2s both;
        }

        /* Contenido principal */
        .app-content {
            flex: 1;
            padding: 20px 20px 24px;
            animation: fadeInUp 0.6s ease-out 0.3s both;
        }

        .section-title {
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-secondary);
            margin-bottom: 16px;
            padding-left: 4px;
        }

        /* Cards de acción - estilo app nativa */
        .action-grid {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 24px;
        }

        .action-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 20px 22px;
            display: flex;
            align-items: center;
            gap: 18px;
            box-shadow: var(--shadow-md);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.04);
        }

        .action-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: currentColor;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .action-card:active {
            transform: scale(0.98);
            box-shadow: var(--shadow-sm);
        }

        @media (hover: hover) {
            .action-card:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-lg);
            }
            
            .action-card:hover::before {
                opacity: 1;
            }
        }

        .action-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .action-icon::before {
            content: '';
            position: absolute;
            inset: 0;
            background: currentColor;
            opacity: 0.12;
        }

        .action-icon svg {
            width: 26px;
            height: 26px;
            position: relative;
            z-index: 1;
        }

        .action-content {
            flex: 1;
            text-align: left;
        }

        .action-title {
            font-size: 17px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
            letter-spacing: -0.3px;
        }

        .action-desc {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        .action-arrow {
            color: var(--text-secondary);
            opacity: 0.4;
            transition: all 0.3s;
        }

        .action-card:hover .action-arrow {
            opacity: 0.7;
            transform: translateX(4px);
        }

        /* Colores específicos para cada card */
        .action-card.primary {
            color: var(--primary);
        }

        .action-card.success {
            color: var(--success);
        }

        .action-card.info {
            color: var(--info);
        }

        /* Link de verificación - diseño secundario */
        .secondary-action {
            background: transparent;
            border: 2px dashed rgba(0,0,0,0.1);
            border-radius: var(--radius-lg);
            padding: 18px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
            transition: all 0.3s;
            margin-top: 20px;
        }

        .secondary-action:active {
            transform: scale(0.98);
        }

        @media (hover: hover) {
            .secondary-action:hover {
                background: var(--card-bg);
                border-color: var(--primary);
                box-shadow: var(--shadow-sm);
            }
        }

        .secondary-action svg {
            width: 20px;
            height: 20px;
            color: var(--text-secondary);
        }

        .secondary-action span {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
        }

        /* Footer */
        .app-footer {
            background: var(--card-bg);
            padding: 20px 24px;
            text-align: center;
            border-top: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
        }

        .footer-text {
            font-size: 12px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Animaciones */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive refinements */
        @media (max-width: 380px) {
            .app-header {
                padding: 20px 20px 24px;
            }
            
            .app-content {
                padding: 16px;
            }
            
            .action-card {
                padding: 18px 20px;
                gap: 16px;
            }
            
            .action-icon {
                width: 48px;
                height: 48px;
            }
            
            .action-icon svg {
                width: 24px;
                height: 24px;
            }
            
            .action-title {
                font-size: 16px;
            }
        }

        @media (min-width: 481px) {
            .app-container {
                margin-top: 20px;
                margin-bottom: 20px;
                border-radius: var(--radius-xl);
                box-shadow: var(--shadow-lg);
                overflow: hidden;
            }
            
            .app-header {
                border-radius: var(--radius-xl) var(--radius-xl) 0 0;
            }
            
            .app-footer {
                border-radius: 0 0 var(--radius-xl) var(--radius-xl);
            }
        }

        /* Estados de carga */
        .action-card.loading {
            pointer-events: none;
            opacity: 0.6;
        }